-
Notifications
You must be signed in to change notification settings - Fork 13
Compile error #3
Description
Hi, I got the compiling error in the directory: nways_multi_gpu/labs/CFD/English/C/source_code/cuda
jacobi_memcpy.cu(278): error: too few arguments in function call
{ cudaError_t cudaStatus = cudaSetDevice( ); if (cudaSuccess != cudaStatus) fprintf(
jacobi_memcpy.cu(287): error: expected an expression
jacobi_kernel<<< , >>>( );
^
jacobi_memcpy.cu(287): error: expected an expression
jacobi_kernel<<< , >>>( );
^
jacobi_memcpy.cu(287): error: too few arguments in function call
jacobi_kernel<<< , >>>( );
^
jacobi_memcpy.cu(290): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(290): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(290): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(299): error: too few arguments in function call
{ cudaError_t cudaStatus = cudaSetDevice( ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(302): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(302): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(302): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(305): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(305): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(305): error: expected an expression
{ cudaError_t cudaStatus = cudaMemcpyAsync( , , nx * sizeof(float), ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(311): error: too few arguments in function call
{ cudaError_t cudaStatus = cudaSetDevice( ); if (cudaSuccess != cudaStatus) fprintf(
^
jacobi_memcpy.cu(312): error: expected an expression
{ cudaError_t cudaStatus = ; if (cudaSuccess != cudaStatus) fprintf(
^
16 errors detected in the compilation of "jacobi_memcpy.cu"
Is there something missing in the compiling configuration?
Thanks