mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
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:
committed by
sys_ocldev
parent
507544a999
commit
18eb0b5e64
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user