nvgpu backend check if the ptr pass to create_tensor is device pointer (#2584)
* add error msg is not pass device pointer to GPUtensor * add check to create_tensor * fix bug * mv from cpu to gpu * style * fix if else and nullptr
Showing
Please
register
or
sign in
to comment