SWDEV-390565 - ocltst test failing

part 2 of the fix

Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837


[ROCm/clr commit: 42f8b9183d]
Этот коммит содержится в:
Alex Xie authored and AlexBin Xie committed 2023-05-01 12:31:37 -04:00
1 родитель e9b17e263a
Коммит 1678c03e90
11 files changed
+13 -13

No files matched your search

+1 -1
Просмотреть файл
@@ -174,7 +174,7 @@ void OCLPerfImageCopyCorners::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_) {
+1 -1
Просмотреть файл
@@ -162,7 +162,7 @@ void OCLPerfImageCopySpeed::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_) {
+1 -1
Просмотреть файл
@@ -108,7 +108,7 @@ void OCLPerfImageCreate::open(unsigned int test, char *units,
}
delete strVersion;
size_t size;
bool imageSupport_ = false;
cl_bool imageSupport_ = false;
error_ = _wrapper->clGetDeviceInfo(devices_[_deviceId], CL_DEVICE_IMAGE_SUPPORT,
sizeof(imageSupport_), &imageSupport_, &size);
if (!imageSupport_) {
+1 -1
Просмотреть файл
@@ -163,7 +163,7 @@ void OCLPerfImageMapUnmap::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_) {
+2 -2
Просмотреть файл
@@ -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_) {
+1 -1
Просмотреть файл
@@ -124,7 +124,7 @@ void OCLPerfImageReadWrite::open(unsigned int test, char *units,
}
delete strVersion;
size_t size;
bool imageSupport_ = false;
cl_bool imageSupport_ = false;
error_ = _wrapper->clGetDeviceInfo(devices_[_deviceId], CL_DEVICE_IMAGE_SUPPORT,
sizeof(imageSupport_), &imageSupport_, &size);
if (!imageSupport_) {
+1 -1
Просмотреть файл
@@ -127,7 +127,7 @@ void OCLPerfImageReadsRGBA::open(unsigned int test, char *units,
}
delete strVersion;
size_t size;
bool imageSupport_ = false;
cl_bool imageSupport_ = false;
error_ = _wrapper->clGetDeviceInfo(devices_[_deviceId], CL_DEVICE_IMAGE_SUPPORT,
sizeof(imageSupport_), &imageSupport_, &size);
if (!imageSupport_) {
+1 -1
Просмотреть файл
@@ -177,7 +177,7 @@ void OCLPerfImageSampleRate::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_) {
+2 -2
Просмотреть файл
@@ -129,7 +129,7 @@ void OCLPerfImageWriteSpeed::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_) {
@@ -275,7 +275,7 @@ void OCLPerfPinnedImageWriteSpeed::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_) {
+1 -1
Просмотреть файл
@@ -130,7 +130,7 @@ void OCLPerfMapImageReadSpeed::open(unsigned int test, char *units,
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_) {
+1 -1
Просмотреть файл
@@ -131,7 +131,7 @@ void OCLPerfMapImageWriteSpeed::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_) {