Added static_pointer_cast() for casting cuda_data_void_ptr to
cuda_data_ptr<T>. Also moved some memcpy() functions to namespace scope so that calling them like dlib::cuda::memcpy() can referene them. It was slightly annoting before.
Showing
Please register or sign in to comment