Fixed function not found issue

[ROCm/hip-tests commit: 01ee90d564]
이 커밋은 다음에 포함됨:
Rahul Garg가 2018-03-16 12:35:25 +05:30를 커밋했습니다
1 부모 3277453ea5
커밋 5482a4237e
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -23,7 +23,7 @@ THE SOFTWARE.
#include "hip/hip_runtime.h"
extern texture<float, 2, hipReadModeElementType> tex;
__global__ void tex2dKernel(hipLaunchParm lp, float* outputData, int width, int height) {
extern "C" __global__ void tex2dKernel(hipLaunchParm lp, float* outputData, int width, int height) {
int x = hipBlockIdx_x * hipBlockDim_x + hipThreadIdx_x;
int y = hipBlockIdx_y * hipBlockDim_y + hipThreadIdx_y;
outputData[y * width + x] = tex2D(tex, x, y);