Halide 19.0.0
Halide compiler and libraries
|
#include <GPUMemInfo.h>
Public Member Functions | |
double | num_transactions () const |
void | add_access_info (double num_requests, double num_transactions_per_request, double num_bytes_used_per_request) |
void | add (const MemInfo< T > &other) |
double | efficiency () const |
Static Public Attributes | |
static constexpr double | bytes_per_transaction = MemTraits<T>::bytes_per_transaction |
Definition at line 56 of file GPUMemInfo.h.
|
inline |
Definition at line 59 of file GPUMemInfo.h.
|
inline |
Definition at line 63 of file GPUMemInfo.h.
References Halide::Internal::Autoscheduler::MemInfo< T >::bytes_per_transaction, and internal_assert.
Referenced by Halide::Internal::Autoscheduler::GlobalAccessAccumulator::add_access_info(), Halide::Internal::Autoscheduler::LocalAccessAccumulator::add_access_info(), and Halide::Internal::Autoscheduler::SharedAccessAccumulator::add_access_info().
|
inline |
Definition at line 80 of file GPUMemInfo.h.
|
inline |
Definition at line 86 of file GPUMemInfo.h.
References internal_assert.
|
staticconstexpr |
Definition at line 57 of file GPUMemInfo.h.
Referenced by Halide::Internal::Autoscheduler::LocalAccessAccumulator::add_access_info(), and Halide::Internal::Autoscheduler::MemInfo< T >::add_access_info().