mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b2aee82f41
commit
bb80d327c7
@@ -34,7 +34,7 @@ GEN9TEST_F(Gen9PlatformCaps, allSkusSupportFP64) {
|
||||
GEN9TEST_F(Gen9PlatformCaps, SKLVersion) {
|
||||
char *paramValue = new char[12];
|
||||
cl_int retVal = clGetPlatformInfo(pPlatform, CL_PLATFORM_VERSION, 12, paramValue, nullptr);
|
||||
if (pPlatform->getDevice(0)->getHardwareInfo().pPlatform->eProductFamily == IGFX_SKYLAKE) {
|
||||
if (pPlatform->getDevice(0)->getHardwareInfo().pPlatform.eProductFamily == IGFX_SKYLAKE) {
|
||||
EXPECT_STREQ(paramValue, "OpenCL 2.1 ");
|
||||
}
|
||||
EXPECT_EQ(retVal, CL_SUCCESS);
|
||||
@@ -44,7 +44,7 @@ GEN9TEST_F(Gen9PlatformCaps, SKLVersion) {
|
||||
GEN9TEST_F(Gen9PlatformCaps, BXTVersion) {
|
||||
char *paramValue = new char[12];
|
||||
cl_int retVal = clGetPlatformInfo(pPlatform, CL_PLATFORM_VERSION, 12, paramValue, nullptr);
|
||||
if (pPlatform->getDevice(0)->getHardwareInfo().pPlatform->eProductFamily == IGFX_BROXTON) {
|
||||
if (pPlatform->getDevice(0)->getHardwareInfo().pPlatform.eProductFamily == IGFX_BROXTON) {
|
||||
EXPECT_STREQ(paramValue, "OpenCL 1.2 ");
|
||||
}
|
||||
EXPECT_EQ(retVal, CL_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user