¡@

Home 

c++ Programming Glossary: cudamemcpy

cudaMemcpy segmentation fault

http://stackoverflow.com/questions/15431365/cudamemcpy-segmentation-fault

segmentation fault I've been haunted by this error for quite.. to post it here. This segmentation fault happened when a cudaMemcpy is called CurrentGrid cdata i new float size cudaMemcpy CurrentGrid.. a cudaMemcpy is called CurrentGrid cdata i new float size cudaMemcpy CurrentGrid cdata i Grid_dev cdata i size sizeof float cudaMemcpyDeviceToHost..