SWDEV-292175 - Use gfx90a guards around image kernel device library call.

Change-Id: I29aaac940c75fcab0cddbc263d60c0076ea76068


[ROCm/hip commit: f61dff826a]
Tá an tiomantas seo le fáil i:
kjayapra-amd
2021-07-16 11:43:53 -04:00
tiomanta ag Karthik Jayaprakash
tuismitheoir e6ff99b52b
tiomantas e09c01f27a
@@ -39,9 +39,11 @@ std::vector<unsigned int> mip_vector = {8, 4, 2, 1};
__global__ void tex2DKernel(float* outputData, hipTextureObject_t textureObject, int width,
int height, float level) {
#ifndef __gfx90a__
int x = blockIdx.x * blockDim.x + threadIdx.x;
int y = blockIdx.y * blockDim.y + threadIdx.y;
outputData[y * width + x] = tex2DLod<float>(textureObject, x, y, level);
#endif
}
bool runMipMapTest(unsigned int width, unsigned int height, unsigned int mipmap_level) {