|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Namespaces | |
| namespace | blas |
| namespace | stdlib |
| namespace | tiles |
Classes | |
| class | RocmLibraryNodeRewriter |
| class | RocmLibraryNodeTransferExtractionVisitor |
| class | ROCMLanguageExtension |
| class | ScheduleType_ROCM_Offload |
| ROCM schedule type inheriting shared GPU functionality Provides ROCM-specific value() and default block size (64 for wavefront size). More... | |
| class | ScheduleType_ROCM |
| ROCM schedule type inheriting shared GPU functionality Provides ROCM-specific value() and default block size (64 for wavefront size). More... | |
| class | ROCMDataOffloadingNode |
| class | ROCMDataOffloadingNodeDispatcher |
| class | ROCMDataOffloadingNodeSerializer |
| class | ROCMMapDispatcher |
| class | ROCMOffloadDispatcherStrategy |
| ROCm/HIP specialization of gpu::GPUOffloadMapDispatcher. More... | |
| class | ROCMReduceDispatcher |
| Atomics-based ROCm/HIP code generator for structured_control_flow::Reduce. More... | |
| class | ROCBLASDataTransferExtraction |
| class | ROCMOffloadTransform |
| class | ROCMStdlibDataTransferExtraction |
| class | ROCMTransform |
| Offloads a top-level loop to a ROCm/HIP kernel (X grid dimension). More... | |
Functions | |
| void | register_rocm_plugin (plugins::Context &context) |
| void | register_rocm_plugin () |
| void | rocm_error_checking (codegen::PrettyPrinter &stream, const codegen::LanguageExtension &language_extension, const std::string &status_variable) |
| bool | do_rocm_error_checking () |
| int | rocm_wavefront_size () |
| Wavefront width of the target device, queried once at codegen time. | |
| void | check_rocm_kernel_launch_errors (codegen::PrettyPrinter &stream, const codegen::LanguageExtension &language_extension) |
| data_flow::LibraryNodeCode | LibraryNodeType_ROCM_Offloading ("ROCMOffloading") |
Variables | |
| std::string | ROCM_DEVICE_PREFIX = "__daisy_hip_" |
| constexpr int | ROCM_WARP_SIZE = 64 |
| data_flow::ImplementationType | ImplementationType_ROCM {"ROCM"} |
| Generic ROCM implementation. | |
| data_flow::ImplementationType | ImplementationType_ROCMWithTransfers {"ROCMWithTransfers"} |
| ROCM implementation with automatic memory transfers Used for ROCm BLAS, memset, and other ROCm-accelerated library nodes. | |
| data_flow::ImplementationType | ImplementationType_ROCMWithoutTransfers {"ROCMWithoutTransfers"} |
| ROCM implementation without memory transfers Used for ROCm BLAS, memset, and other ROCm-accelerated library nodes assuming data is already on GPU. | |
| codegen::TargetType | TargetType_ROCM_Offload {ScheduleType_ROCM_Offload::value()} |
| codegen::TargetType | TargetType_ROCM {ScheduleType_ROCM::value()} |
| typedef passes::VisitorPass<RocmLibraryNodeTransferExtractionVisitor> sdfg::rocm::RocmLibraryNodeTransferExtractionPass |
| void sdfg::rocm::check_rocm_kernel_launch_errors | ( | codegen::PrettyPrinter & | stream, |
| const codegen::LanguageExtension & | language_extension ) |
| bool sdfg::rocm::do_rocm_error_checking | ( | ) |
|
inline |
|
inline |
| void sdfg::rocm::register_rocm_plugin | ( | plugins::Context & | context | ) |
| void sdfg::rocm::rocm_error_checking | ( | codegen::PrettyPrinter & | stream, |
| const codegen::LanguageExtension & | language_extension, | ||
| const std::string & | status_variable ) |
| int sdfg::rocm::rocm_wavefront_size | ( | ) |
Wavefront width of the target device, queried once at codegen time.
RDNA parts (gfx10xx/11xx/12xx) execute wave32 while CDNA/GCN (gfx9xx) execute wave64, so the value that drives warp-shuffle reductions and launch geometry cannot be a compile-time constant. Resolved from the DOCC_ROCM_WAVEFRONT_SIZE override, else the present device via rocminfo, falling back to ROCM_WARP_SIZE. The result is cached.
|
inline |
Generic ROCM implementation.
|
inline |
ROCM implementation without memory transfers Used for ROCm BLAS, memset, and other ROCm-accelerated library nodes assuming data is already on GPU.
|
inline |
ROCM implementation with automatic memory transfers Used for ROCm BLAS, memset, and other ROCm-accelerated library nodes.
|
inline |
|
constexpr |
|
inline |
|
inline |