Home
last modified time | relevance | path

Searched refs:t_result_bytes (Results 1 – 3 of 3) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_contract_cuda.cu44 std::size_t t_result_bytes = t_result.size() * sizeof(float); in test_cuda_contraction() local
52 cudaMalloc((void**)(&d_t_result), t_result_bytes); in test_cuda_contraction()
71 cudaMemcpy(t_result_gpu.data(), d_t_result, t_result_bytes, cudaMemcpyDeviceToHost); in test_cuda_contraction()
108 std::size_t t_result_bytes = sizeof(float); in test_scalar() local
116 cudaMalloc((void**)(&d_t_result), t_result_bytes); in test_scalar()
134 cudaMemcpy(t_result_gpu.data(), d_t_result, t_result_bytes, cudaMemcpyDeviceToHost); in test_scalar()
Dcxx11_tensor_scan_cuda.cu36 std::size_t t_result_bytes = t_result.size() * sizeof(float); in test_cuda_cumsum() local
42 cudaMalloc((void**)(&d_t_result), t_result_bytes); in test_cuda_cumsum()
57 cudaMemcpy(t_result_gpu.data(), d_t_result, t_result_bytes, cudaMemcpyDeviceToHost); in test_cuda_cumsum()
Dcxx11_tensor_cuda.cu271 std::size_t t_result_bytes = t_result.size() * sizeof(float); in test_cuda_contraction() local
279 cudaMalloc((void**)(&d_t_result), t_result_bytes); in test_cuda_contraction()
304 cudaMemcpy(t_result.data(), d_t_result, t_result_bytes, cudaMemcpyDeviceToHost); in test_cuda_contraction()