Friday, 2 June 2017

What is the use of cudaFree() function and what arguments does it accept?


                     Function cudaFree() is provided by header file cuda.h. It is used to free the memory allocated to the pointers (global memory from GPU).

syntax: cudaFree(Pointer Variable)

e.g. cudaFree(d);

No comments:

Post a comment