|
| void | dispatch_kernel_call (codegen::PrettyPrinter &main_stream, const std::string &kernel_name, codegen::LanguageExtension &host_language_ext, symbolic::Expression &num_blocks_x, symbolic::Expression &num_blocks_y, symbolic::Expression &num_blocks_z, symbolic::Expression &block_size_x, symbolic::Expression &block_size_y, symbolic::Expression &block_size_z, std::vector< std::string > &arguments_device) override |
| void | emit_target_header_declarations (codegen::PrettyPrinter &kernel_header_stream) override |
| | Target-specific includes/declarations emitted into the kernel include header (device fp16/bf16 intrinsics, lib-dependency includes, ...).
|
| void | emit_target_global_includes (codegen::CodeSnippetFactory &library_snippet_factory) override |
| | ROCMOffloadDispatcherStrategy () |
| void | dispatch_kernel_launch_error_check (codegen::PrettyPrinter &stream, const codegen::LanguageExtension &language_extension) |
| int | get_warp_size () const override |
| bool | is_device_pointer_storage (const types::StorageType &storage) const override |
| std::string | kernel_file_extension () const override |
| | File extension for the kernel translation unit ("cu"/"rocm.cpp").
|
| std::string | kernel_header_file_extension () const override |
| | File extension for the kernel's include header ("cu.h"/"rocm.h").
|
| std::string | warp_shuffle_xor (const std::string &value, const std::string &lane_mask) const override |
| | Cross-lane XOR butterfly shuffle of value by lane_mask (CUDA/HIP __shfl_xor_sync).
|
| codegen::TargetType | get_instrumentation_kernel_target_type () const override |
| bool | is_matching_kernel_language_extension (const StructuredSDFG &sdfg, const StructuredLoop &loop, codegen::LanguageExtension &language_extension) override |
| std::unique_ptr< codegen::LanguageExtension > | create_kernel_language_extension (StructuredSDFG &sdfg, const StructuredLoop &loop) override |
| virtual | ~GPUOffloadDispatcherStrategy ()=default |
| void | require_matching_kernel_language_extension (const StructuredSDFG &sdfg, const StructuredLoop &loop, codegen::LanguageExtension &language_extension) |
ROCm/HIP specialization of gpu::GPUOffloadMapDispatcher.
Supplies the HIP-specific policy for the shared coverage-loop offload lowering: the device language extension, the hipLaunchKernelGGL kernel launch and launch-error check.