OK, found the culprit!
It seems to be a known bug as stated here 15, and the reason is the cuda.dll wont get loaded for some reason and thus you face this issue.
To get around this issue, one way that was proposed was to add this :
/INCLUDE:"?warp_size@cuda@at@@YAHXZ"

to the linker flags. (in VS this means to add it to the linker/commands section)
this solves the issue.