Home
last modified time | relevance | path

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

/aosp_15_r20/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorDeviceSycl.h71 typedef TensorSycl::internal::buffer_data_type_t buffer_scalar_t; typedef
144 cl::sycl::buffer<buffer_scalar_t, 1> &buf) const { in attach_buffer() argument
255 typedef cl::sycl::accessor<buffer_scalar_t, 1, write_mode, global_access> in memcpyHostToDevice()
261 n /= sizeof(buffer_scalar_t); in memcpyHostToDevice()
264 buffer_scalar_t const *ptr = static_cast<buffer_scalar_t const *>(src); in memcpyHostToDevice()
265 auto non_deleter = [](buffer_scalar_t const *) {}; in memcpyHostToDevice()
266 std::shared_ptr<const buffer_scalar_t> s_ptr(ptr, non_deleter); in memcpyHostToDevice()
283 typedef cl::sycl::accessor<buffer_scalar_t, 1, read_mode, global_access> in memcpyDeviceToHost()
289 n /= sizeof(buffer_scalar_t); in memcpyDeviceToHost()
292 buffer_scalar_t *ptr = static_cast<buffer_scalar_t *>(dst); in memcpyDeviceToHost()
[all …]