waityousea / xuniren

MIT License
551 stars 159 forks source link

fix compilation issue on some old hardware environments: atomicAdd ma… #17

Closed jackyhwei closed 9 months ago

jackyhwei commented 11 months ago

I tried to build this project on my notebook which is with a NVIDIA GeForce MX130(CUDA arch 5.0), end up with a failure on atomicAdd() interface error. This patch can fix this issue, and help guys don't have a recently manufactured GPU like me to test and experience this project.