abduld/libwb — pull request #10 by git4htro2 (2014-01-22 13:15:02+00:00)
Title: tackle issue that cudaGetLastError() delivers 11 (invalid argument)

I had wrapped my original cudaMalloc call with wbCheck which checks the err from line 22, but the cudaMemset from line 24 causes cudaGetLastError() to deliver 11 (invalid argument) which causes some trouble. Anyway, CUDA has probably not performed the line 24.