mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Refactor ApiFixture
- setup number of root devices - define tested root device Related-To: NEO-4000 Change-Id: I785d07a7f54932f66fe57637c8d10775743a871c Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8ccadbb240
commit
16c6d7eb9b
@@ -59,7 +59,7 @@ TEST_F(clCreateContextTests, returnsFail) {
|
||||
|
||||
TEST_F(clCreateContextTests, invalidDevices) {
|
||||
cl_device_id devList[2];
|
||||
devList[0] = devices[0];
|
||||
devList[0] = devices[testedRootDeviceIndex];
|
||||
devList[1] = (cl_device_id)ptrGarbage;
|
||||
|
||||
auto context = clCreateContext(nullptr, 2, devList, nullptr, nullptr, &retVal);
|
||||
|
||||
Reference in New Issue
Block a user