Home
last modified time | relevance | path

Searched refs:d_in (Results 1 – 6 of 6) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_argmax_cuda.cu37 double* d_in; in test_cuda_simple_argmax() local
40 cudaMalloc((void**)(&d_in), in_bytes); in test_cuda_simple_argmax()
44 cudaMemcpy(d_in, in.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_simple_argmax()
49 …Eigen::TensorMap<Eigen::Tensor<double, 3, Layout>, Aligned > gpu_in(d_in, Eigen::array<DenseIndex,… in test_cuda_simple_argmax()
63 cudaFree(d_in); in test_cuda_simple_argmax()
101 float* d_in; in test_cuda_argmax_dim() local
103 cudaMalloc((void**)(&d_in), in_bytes); in test_cuda_argmax_dim()
106 cudaMemcpy(d_in, tensor.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_argmax_dim()
111 …Eigen::TensorMap<Eigen::Tensor<float, 4, DataLayout>, Aligned > gpu_in(d_in, Eigen::array<DenseInd… in test_cuda_argmax_dim()
140 cudaMemcpy(d_in, tensor.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_argmax_dim()
[all …]
Dcxx11_tensor_cuda.cu632 Scalar* d_in; in test_cuda_lgamma() local
634 cudaMalloc((void**)(&d_in), bytes); in test_cuda_lgamma()
637 cudaMemcpy(d_in, in.data(), bytes, cudaMemcpyHostToDevice); in test_cuda_lgamma()
642 Eigen::TensorMap<Eigen::Tensor<Scalar, 2> > gpu_in(d_in, 72, 97); in test_cuda_lgamma()
656 cudaFree(d_in); in test_cuda_lgamma()
686 Scalar* d_in; in test_cuda_digamma() local
688 cudaMalloc((void**)(&d_in), bytes); in test_cuda_digamma()
691 cudaMemcpy(d_in, in.data(), bytes, cudaMemcpyHostToDevice); in test_cuda_digamma()
696 Eigen::TensorMap<Eigen::Tensor<Scalar, 1> > gpu_in(d_in, 7); in test_cuda_digamma()
711 cudaFree(d_in); in test_cuda_digamma()
[all …]
/external/autotest/client/common_lib/
Dsmogcheck_ina219.py94 def _validateRangeDict(self, d_ref, d_in): argument
108 if k not in d_in:
109 raise InaError('Key %s not present in dict %r' % (k, d_in))
110 if type(v) != type(d_in[k]):
113 % (k, type(v), type(d_in[k])))
115 self._validateRangeDict(v, d_in[k])
/external/eigen/test/
Dcuda_common.h36 typename Input::Scalar* d_in; in run_on_cuda() local
41 cudaMalloc((void**)(&d_in), in_bytes); in run_on_cuda()
44 cudaMemcpy(d_in, in.data(), in_bytes, cudaMemcpyHostToDevice); in run_on_cuda()
53 run_on_cuda_meta_kernel<<<Grids,Blocks>>>(ker, n, d_in, d_out); in run_on_cuda()
57 …cudaMemcpy(const_cast<typename Input::Scalar*>(in.data()), d_in, in_bytes, cudaMemcpyDeviceToHo… in run_on_cuda()
60 cudaFree(d_in); in run_on_cuda()
/external/freetype/src/base/
Dftcalc.c969 FT_Pos d_in, d_out, d_hypot; in ft_corner_is_flat() local
991 d_in = FT_HYPOT( in_x, in_y ); in ft_corner_is_flat()
999 return ( d_in + d_out - d_hypot ) < ( d_hypot >> 4 ); in ft_corner_is_flat()
/external/pdfium/third_party/freetype/src/base/
Dftcalc.c969 FT_Pos d_in, d_out, d_hypot; in ft_corner_is_flat() local
991 d_in = FT_HYPOT( in_x, in_y ); in ft_corner_is_flat()
999 return ( d_in + d_out - d_hypot ) < ( d_hypot >> 4 ); in ft_corner_is_flat()