SWDEV-558845 - Support image in rocr on Windows (#1582)
Enable image build in Windows. Remove some useless codes that fail building in Windows. Some minor improvement. Temporarily exclude mipmap test files. Prevent negative tests affect some tests. Move some catch info log codes into failed cases.
This commit is contained in:
@@ -66,6 +66,7 @@ template <typename T> __global__ void surf1DKernelRW(hipSurfaceObject_t surfaceO
|
||||
}
|
||||
|
||||
template <typename T> static void runTestR(const int width) {
|
||||
(void) hipGetLastError(); // Prevent negative tests affecting this
|
||||
unsigned int size = width * sizeof(T);
|
||||
T* hData = (T*)malloc(size);
|
||||
memset(hData, 0, size);
|
||||
|
||||
Reference in New Issue
Block a user