Remember to check your project properties
-> Linker –> Input –> Additional Dependencies
if “cudart.lib;” is not there, should add it, this will ‘pull in’ extra dependencies for CUDA compiler ONCE for all
sometimes it may seems to work even without it, it is because those dependencies were ‘pulled in’ already for some reason.
No comments:
Post a Comment