Kernel Source Level debugger support 2/n

- adding kernel debug option to build program
- program tests refactor
- pregenerated debug kernel for ULTs

Change-Id: I00152639148fd48c4f709dc7cd9c46392df567c8
This commit is contained in:
Hoppe, Mateusz
2018-03-15 18:13:52 +01:00
committed by sys_ocldev
parent 507544a999
commit 18eb0b5e64
9 changed files with 205 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -82,16 +82,16 @@ class ProgramFromBinaryTest : public DeviceFixture,
};
////////////////////////////////////////////////////////////////////////////////
// ProgramFromBinarySimpleTest Test Fixture
// ProgramSimpleFixture Test Fixture
// Used to test the Program class, but not using parameters
////////////////////////////////////////////////////////////////////////////////
class ProgramFromBinarySimpleTest : public DeviceFixture,
public ContextFixture,
public ProgramFixture {
class ProgramSimpleFixture : public DeviceFixture,
public ContextFixture,
public ProgramFixture {
using ContextFixture::SetUp;
protected:
ProgramFromBinarySimpleTest() : retVal(CL_SUCCESS) {
public:
ProgramSimpleFixture() : retVal(CL_SUCCESS) {
}
void SetUp() override {
@@ -109,6 +109,7 @@ class ProgramFromBinarySimpleTest : public DeviceFixture,
DeviceFixture::TearDown();
}
protected:
cl_int retVal;
};
} // namespace OCLRT