|
void * | allocate (size_t num_bytes) const |
|
void * | allocate_temp (size_t num_bytes) const |
|
void | deallocate (void *buffer) const |
|
void | deallocate_temp (void *buffer) const |
|
template<typename T > |
void | fill (T *begin, T *end, const T &value) const |
|
size_t | firstLevelCacheSize () const |
|
template<typename Type > |
Type | get (Type data) const |
|
size_t | lastLevelCacheSize () const |
|
int | majorDeviceVersion () const |
|
void | memcpy (void *dst, const void *src, size_t n) const |
|
void | memcpyDeviceToHost (void *dst, const void *src, size_t n) const |
|
void | memcpyHostToDevice (void *dst, const void *src, size_t n) const |
|
void | memset (void *buffer, int c, size_t n) const |
|
size_t | numThreads () const |
|
void | synchronize () const |
|
Definition at line 19 of file TensorDeviceDefault.h.
◆ allocate()
void* Eigen::DefaultDevice::allocate |
( |
size_t |
num_bytes | ) |
const |
|
inline |
◆ allocate_temp()
void* Eigen::DefaultDevice::allocate_temp |
( |
size_t |
num_bytes | ) |
const |
|
inline |
◆ deallocate()
void Eigen::DefaultDevice::deallocate |
( |
void * |
buffer | ) |
const |
|
inline |
◆ deallocate_temp()
void Eigen::DefaultDevice::deallocate_temp |
( |
void * |
buffer | ) |
const |
|
inline |
◆ fill()
template<typename T >
void Eigen::DefaultDevice::fill |
( |
T * |
begin, |
|
|
T * |
end, |
|
|
const T & |
value |
|
) |
| const |
|
inline |
Definition at line 45 of file TensorDeviceDefault.h.
46 #ifdef EIGEN_GPU_COMPILE_PHASE
48 for (
T* it = begin; it !=
end; ++it) {
52 std::fill(begin,
end, value);
static const lastp1_t end
◆ firstLevelCacheSize()
size_t Eigen::DefaultDevice::firstLevelCacheSize |
( |
| ) |
const |
|
inline |
Definition at line 73 of file TensorDeviceDefault.h.
74 #if !defined(EIGEN_GPU_COMPILE_PHASE) && !defined(SYCL_DEVICE_ONLY)
77 #elif defined(EIGEN_HIP_DEVICE_COMPILE)
std::ptrdiff_t l1CacheSize()
◆ get()
template<typename Type >
Type Eigen::DefaultDevice::get |
( |
Type |
data | ) |
const |
|
inline |
◆ lastLevelCacheSize()
size_t Eigen::DefaultDevice::lastLevelCacheSize |
( |
| ) |
const |
|
inline |
Definition at line 86 of file TensorDeviceDefault.h.
87 #if !defined(EIGEN_GPU_COMPILE_PHASE) && !defined(SYCL_DEVICE_ONLY)
90 #elif defined(EIGEN_HIP_DEVICE_COMPILE)
std::ptrdiff_t l3CacheSize()
size_t firstLevelCacheSize() const
◆ majorDeviceVersion()
int Eigen::DefaultDevice::majorDeviceVersion |
( |
| ) |
const |
|
inline |
Definition at line 103 of file TensorDeviceDefault.h.
104 #if !defined(EIGEN_GPU_COMPILE_PHASE)
108 #elif defined(EIGEN_HIP_DEVICE_COMPILE)
114 return EIGEN_CUDA_ARCH / 100;
◆ memcpy()
void Eigen::DefaultDevice::memcpy |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| const |
|
inline |
◆ memcpyDeviceToHost()
void Eigen::DefaultDevice::memcpyDeviceToHost |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| const |
|
inline |
◆ memcpyHostToDevice()
void Eigen::DefaultDevice::memcpyHostToDevice |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| const |
|
inline |
◆ memset()
void Eigen::DefaultDevice::memset |
( |
void * |
buffer, |
|
|
int |
c, |
|
|
size_t |
n |
|
) |
| const |
|
inline |
◆ numThreads()
size_t Eigen::DefaultDevice::numThreads |
( |
| ) |
const |
|
inline |
Definition at line 60 of file TensorDeviceDefault.h.
61 #if !defined(EIGEN_GPU_COMPILE_PHASE)
64 #elif defined(EIGEN_HIP_DEVICE_COMPILE)
◆ synchronize()
void Eigen::DefaultDevice::synchronize |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: