You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
输入的编译命令为:nvcc _O3 _DUSE_DP xxx.cu。报错信息如下:9.cu(37): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (real *, real)
atomicAdd(&d_y[0],x[0]);
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\sm_20_atomic_functions.hpp(82): note #3326-D: function "atomicAdd(float *, float)" does not match because argument #1 does not match parameter
static __inline __declspec(device) float atomicAdd(float *address, float val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(224): note #3326-D: function "atomicAdd(unsigned long long *, unsigned long long)" does not match because argument #1 does not match parameter
static __inline __declspec(device) unsigned long long int atomicAdd(unsigned long long int *address, unsigned long long int val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(110): note #3326-D: function "atomicAdd(unsigned int *, unsigned int)" does not match because argument #1 does not match parameter
static __inline __declspec(device) unsigned int atomicAdd(unsigned int *address, unsigned int val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(105): note #3326-D: function "atomicAdd(int *, int)" does not match because argument #1 does not match parameter
static __inline __declspec(device) int atomicAdd(int *address, int val)
GPU型号为3060-laptop,os为win11
The text was updated successfully, but these errors were encountered:
输入的编译命令为:nvcc _O3 _DUSE_DP xxx.cu。报错信息如下:9.cu(37): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (real *, real)
atomicAdd(&d_y[0],x[0]);
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\sm_20_atomic_functions.hpp(82): note #3326-D: function "atomicAdd(float *, float)" does not match because argument #1 does not match parameter
static __inline __declspec(device) float atomicAdd(float *address, float val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(224): note #3326-D: function "atomicAdd(unsigned long long *, unsigned long long)" does not match because argument #1 does not match parameter
static __inline __declspec(device) unsigned long long int atomicAdd(unsigned long long int *address, unsigned long long int val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(110): note #3326-D: function "atomicAdd(unsigned int *, unsigned int)" does not match because argument #1 does not match parameter
static __inline __declspec(device) unsigned int atomicAdd(unsigned int *address, unsigned int val)
^
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include\device_atomic_functions.hpp(105): note #3326-D: function "atomicAdd(int *, int)" does not match because argument #1 does not match parameter
static __inline __declspec(device) int atomicAdd(int *address, int val)
GPU型号为3060-laptop,os为win11
The text was updated successfully, but these errors were encountered: