21:57:10 **** Rebuild of configuration Debug for project complexMatrixMultiplication **** Info: Internal Builder is used for build g++ "-IC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.5\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o complexMatrixMultiplication.o "..\\complexMatrixMultiplication.cpp" In file included from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\include/device_types.h:59, from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\include/builtin_types.h:56, from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\include/cuda_runtime.h:90, from ..\complexMatrixMultiplication.cpp:5: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\include/crt/host_defines.h:107:9: warning: "__cdecl" redefined 107 | #define __cdecl | ^~~~~~~ : note: this is the location of the previous definition ..\complexMatrixMultiplication.cpp: In function 'void printMatrix(int, int, const float*, const char*)': ..\complexMatrixMultiplication.cpp:16:30: warning: unknown conversion type character '\x0a' in format [-Wformat=] 16 | printf("%s(%d) = %lf%\n", name, row + 1, A[row]); | ^~ ..\complexMatrixMultiplication.cpp: In function 'void printMatrixA(int, int, const cuComplex*, const char*)': ..\complexMatrixMultiplication.cpp:24:41: warning: repeated ' ' flag in format [-Wformat=] 24 | printf("%s(%d, %d) = % lf% + lfi\n", name, row + 1, col + 1, A(row, col).x, A(row, col).y); | ^ ..\complexMatrixMultiplication.cpp:24:20: warning: ' ' flag ignored with '+' flag in gnu_printf format [-Wformat=] 24 | printf("%s(%d, %d) = % lf% + lfi\n", name, row + 1, col + 1, A(row, col).x, A(row, col).y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\complexMatrixMultiplication.cpp: In function 'void printMatrixB(int, int, const cuComplex*, const char*)': ..\complexMatrixMultiplication.cpp:33:41: warning: repeated ' ' flag in format [-Wformat=] 33 | printf("%s(%d, %d) = % lf% + lfi\n", name, row + 1, col + 1, B(row, col).x, B(row, col).y); | ^ ..\complexMatrixMultiplication.cpp:33:20: warning: ' ' flag ignored with '+' flag in gnu_printf format [-Wformat=] 33 | printf("%s(%d, %d) = % lf% + lfi\n", name, row + 1, col + 1, B(row, col).x, B(row, col).y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\complexMatrixMultiplication.cpp: In function 'void selfgemm(int, int, int, float*, float*, float*)': ..\complexMatrixMultiplication.cpp:49:20: warning: unused variable 'cublas_status' [-Wunused-variable] 49 | cublasStatus_t cublas_status = CUBLAS_STATUS_SUCCESS; | ^~~~~~~~~~~~~ g++ "-LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.5\\lib\\x64" -o complexMatrixMultiplication.exe complexMatrixMultiplication.o -lcusolver -lcublas -lcudart 21:57:11 Build Finished. 0 errors, 7 warnings. (took 1s.363ms)