Fix compilation error with nvcc (c++ nullptr)
[ROCm/hip-tests commit: 2335bcdd03]
Este cometimento está contido em:
1 ascendente
0b1fade1d2
cometimento
681ba1245d
2 ficheiros modificados
+2
-1
Não existem ficheiros que correspondam à sua pesquisa
@@ -15,5 +15,6 @@ square.hip.out: square.hipref.cpp
|
||||
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
|
||||
const unsigned threadsPerBlock = 256;
|
||||
|
||||
printf ("info: launch 'vector_square' kernel\n");
|
||||
hipLaunchKernel(vector_square, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, C_d, A_d, N);
|
||||
hipLaunchKernel(vector_square, dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);
|
||||
|
||||
printf ("info: copy Device2Host\n");
|
||||
CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador