Home
last modified time | relevance | path

Searched defs:SyclDevice (Results 1 – 4 of 4) sorted by relevance

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceSycl.h19 struct SyclDevice { struct
24 /// per pointer. The lifespan of the buffer now depends on the lifespan of SyclDevice. argument
28 template<typename dev_Selector> SyclDevice(dev_Selector s) in SyclDevice() argument
45 ~SyclDevice() { deallocate_all(); } in ~SyclDevice() argument
47 template <typename T> void deallocate(T *p) const { in deallocate()
54 void deallocate_all() const { in deallocate_all()
69 get_sycl_accessor(size_t num_bytes, cl::sycl::handler &cgh, const T * ptr) const { in get_sycl_accessor()
73 …d *, std::shared_ptr<void>>::iterator,bool> add_sycl_buffer(const T *ptr, size_t num_bytes) const { in add_sycl_buffer()
81 …<typename T> inline cl::sycl::buffer<T, 1>* get_sycl_buffer(size_t num_bytes,const T * ptr) const { in get_sycl_buffer()
86 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void *allocate(size_t) const { in allocate()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dslice_op_cpu_impl.h37 using SyclDevice = Eigen::SyclDevice; variable
Dsnapshot_op.cc65 typedef Eigen::SyclDevice SyclDevice; typedef
Dinplace_ops.cc29 typedef Eigen::SyclDevice SyclDevice; typedef