SWDEV-390565 - ocltst test failing
part 2 of the fix
Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837
[ROCm/clr commit: 42f8b9183d]
이 커밋은 다음에 포함됨:
1 부모
e9b17e263a
커밋
1678c03e90
11 파일이 변경됨
+13
-13
검색과 일치하는 파일 없음
@@ -108,7 +108,7 @@ void OCLPerfImageReadSpeed::open(unsigned int test, char *units,
|
||||
CHECK_RESULT(_deviceId >= num_devices, "Requested deviceID not available");
|
||||
device = devices[_deviceId];
|
||||
size_t size;
|
||||
bool imageSupport_ = false;
|
||||
cl_bool imageSupport_ = false;
|
||||
error_ = _wrapper->clGetDeviceInfo(device, CL_DEVICE_IMAGE_SUPPORT,
|
||||
sizeof(imageSupport_), &imageSupport_, &size);
|
||||
if (!imageSupport_) {
|
||||
@@ -252,7 +252,7 @@ void OCLPerfPinnedImageReadSpeed::open(unsigned int test, char *units,
|
||||
CHECK_RESULT(_deviceId >= num_devices, "Requested deviceID not available");
|
||||
device = devices[_deviceId];
|
||||
size_t size;
|
||||
bool imageSupport_ = false;
|
||||
cl_bool imageSupport_ = false;
|
||||
error_ = _wrapper->clGetDeviceInfo(device, CL_DEVICE_IMAGE_SUPPORT,
|
||||
sizeof(imageSupport_), &imageSupport_, &size);
|
||||
if (!imageSupport_) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단