Home
last modified time | relevance | path

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

/aosp_15_r20/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorDeviceThreadPool.h53 struct ThreadPoolDevice { struct
56 : pool_(pool), num_threads_(num_cores), allocator_(allocator) { } in pool_()
58 EIGEN_STRONG_INLINE void* allocate(size_t num_bytes) const { in allocate()
63 EIGEN_STRONG_INLINE void deallocate(void* buffer) const { in deallocate()
71 EIGEN_STRONG_INLINE void* allocate_temp(size_t num_bytes) const { in allocate_temp()
75 EIGEN_STRONG_INLINE void deallocate_temp(void* buffer) const { in deallocate_temp()
80 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Type get(Type data) const { in get()
84 EIGEN_STRONG_INLINE void memcpy(void* dst, const void* src, size_t n) const { in memcpy()
114 EIGEN_STRONG_INLINE void memcpyHostToDevice(void* dst, const void* src, size_t n) const { in memcpyHostToDevice()
117 EIGEN_STRONG_INLINE void memcpyDeviceToHost(void* dst, const void* src, size_t n) const { in memcpyDeviceToHost()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/transforms/utils/
H A Deval_utils.h31 class ThreadPoolDevice; variable
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfrt/benchmarks/
H A Dsoftmax_op_benchmark.cc76 llvm::Optional<Eigen::ThreadPoolDevice>) { in EigenSoftmax()
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/
H A Dthreadpool_device.cc56 ThreadPoolDevice::ThreadPoolDevice(const SessionOptions& options, in ThreadPoolDevice() function in tensorflow::ThreadPoolDevice