mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add ClDeviceInfo
DeviceInfo contains a subset of ClDeviceInfo values. Related-To: NEO-3938 Change-Id: Idae4fae4d25e1fb3106d8b95294fa70ebc6281df Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
c5454d6cce
commit
5ac8d8e667
@ -13,7 +13,7 @@ using namespace NEO;
|
||||
typedef Test<DeviceFixture> BxtDeviceCaps;
|
||||
|
||||
BXTTEST_F(BxtDeviceCaps, reportsOcl12) {
|
||||
const auto &caps = pDevice->getDeviceInfo();
|
||||
const auto &caps = pClDevice->getDeviceInfo();
|
||||
EXPECT_STREQ("OpenCL 1.2 NEO ", caps.clVersion);
|
||||
EXPECT_STREQ("OpenCL C 1.2 ", caps.clCVersion);
|
||||
}
|
||||
@ -24,7 +24,7 @@ BXTTEST_F(BxtDeviceCaps, BxtProfilingTimerResolution) {
|
||||
}
|
||||
|
||||
BXTTEST_F(BxtDeviceCaps, BxtClVersionSupport) {
|
||||
const auto &caps = pDevice->getDeviceInfo();
|
||||
const auto &caps = pClDevice->getDeviceInfo();
|
||||
EXPECT_STREQ("OpenCL 1.2 NEO ", caps.clVersion);
|
||||
EXPECT_STREQ("OpenCL C 1.2 ", caps.clCVersion);
|
||||
|
||||
@ -39,7 +39,7 @@ BXTTEST_F(BxtDeviceCaps, BxtClVersionSupport) {
|
||||
}
|
||||
|
||||
BXTTEST_F(BxtDeviceCaps, BxtSvmCapabilities) {
|
||||
const auto &caps = pDevice->getDeviceInfo();
|
||||
const auto &caps = pClDevice->getDeviceInfo();
|
||||
EXPECT_EQ(0u, caps.svmCapabilities);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user