[nvccWarnings] Fix warnings seen with dtests on nvcc path

This commit is contained in:
Phaneendr-kumar Lanka
2017-12-13 12:32:16 +05:30
committed by Phaneendr-kumar Lanka
parent 2cdfef0f19
commit eea7d495c7
11 changed files with 12 additions and 21 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ __global__ void floatMath(hipLaunchParm lp, float *In, float *Out) {
}
int main(){
float *Inh, *Outh, *Ind, *Outd;
float *Ind, *Outd;
hipMalloc((void**)&Ind, SIZE);
hipMalloc((void**)&Outd, SIZE);
hipLaunchKernel(floatMath, dim3(LEN,1,1), dim3(1,1,1), 0, 0, Ind, Outd);