Add debug flag to dump dispatch parameters.

- Also refactor debug manager tests , they now check for default value
in igdrcl.config file
- There is no need to write dedicated tests now , so I remove them.

Change-Id: Ib338ca05b6059302c29469c673239e7886dc4b9b
This commit is contained in:
Mrozek, Michal
2018-03-16 10:12:38 +01:00
committed by sys_ocldev
parent 76dd4ac1f3
commit 7644209288
8 changed files with 22 additions and 28 deletions

View File

@@ -40,10 +40,6 @@ class MyCsr : public UltCommandStreamReceiver<Family> {
void CL_CALLBACK emptyDestructorCallback(cl_mem memObj, void *userData) {
}
TEST(MemObjDebugFlags, givenDefaultDebugFlagsWhenMemObjDestructorIsCalledThenMemObjDestroysAllocationsSynchronously) {
EXPECT_TRUE(DebugManager.flags.EnableAsyncDestroyAllocations.get());
}
class MemObjDestructionTest : public ::testing::TestWithParam<bool> {
public:
void SetUp() override {