docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
cuda.h File Reference

Go to the source code of this file.

Classes

class  sdfg::cuda::ScheduleType_CUDA_Offload
 CUDA schedule type inheriting shared GPU functionality Provides CUDA-specific value() and default block size (32 for warp size). More...
class  sdfg::cuda::ScheduleType_CUDA
 CUDA schedule type inheriting shared GPU functionality Provides CUDA-specific value() and default block size (32 for warp size). More...

Namespaces

namespace  sdfg
namespace  sdfg::cuda

Typedefs

using sdfg::cuda::CUDADimension = gpu::GPUDimension

Functions

void sdfg::cuda::cuda_error_checking (codegen::PrettyPrinter &stream, const codegen::LanguageExtension &language_extension, const std::string &status_variable)
bool sdfg::cuda::do_cuda_error_checking ()
void sdfg::cuda::check_cuda_kernel_launch_errors (codegen::PrettyPrinter &stream, const codegen::LanguageExtension &language_extension, bool instrumented)

Variables

std::string sdfg::cuda::CUDA_DEVICE_PREFIX = "__daisy_cuda_"
constexpr int sdfg::cuda::CUDA_WARP_SIZE = 32
data_flow::ImplementationType sdfg::cuda::ImplementationType_CUDA {"CUDA"}
 Generic CUDA implementation.
data_flow::ImplementationType sdfg::cuda::ImplementationType_CUDAWithTransfers {"CUDAWithTransfers"}
 CUDA implementation with automatic memory transfers Used for CUBLAS, memset, and other CUDA-accelerated library nodes.
data_flow::ImplementationType sdfg::cuda::ImplementationType_CUDAWithoutTransfers {"CUDAWithoutTransfers"}
 CUDA implementation without memory transfers Used for CUBLAS, memset, and other CUDA-accelerated library nodes assuming data is already on GPU.
codegen::TargetType sdfg::cuda::TargetType_CUDA_Offload {ScheduleType_CUDA_Offload::value()}
codegen::TargetType sdfg::cuda::TargetType_CUDA {ScheduleType_CUDA::value()}