kernel level memory management functions

Are there memory management functions that run in the kernel? For example, I wish to use versions of memcpy and memset in the device function. The CUDA management functions cudaMemset and cudaMemcpy are intended for the host side. I suppose I could role my own versions of these functions but if these and other functions are available, it would be good to know.

Are there memory management functions that run in the kernel? For example, I wish to use versions of memcpy and memset in the device function. The CUDA management functions cudaMemset and cudaMemcpy are intended for the host side. I suppose I could role my own versions of these functions but if these and other functions are available, it would be good to know.