remove print from cuda to cpu
This commit is contained in:
parent
87bf2318ca
commit
002287d832
1 changed files with 0 additions and 2 deletions
|
|
@ -40,8 +40,6 @@ __host__ void cuda_to_cpu(Tensor* tensor) {
|
|||
const char* device_str = "cpu";
|
||||
tensor->device = (char*)malloc(strlen(device_str) + 1);
|
||||
strcpy(tensor->device, device_str);
|
||||
|
||||
printf("Successfully sent tensor to: %s\n", tensor->device);
|
||||
}
|
||||
|
||||
__global__ void add_tensor_cuda_kernel(float* data1, float* data2, float* result_data, int size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue