A library and framework for developing CPU-CUDA compatible applications under one unified code.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.7 KiB

Core.h

The Core.h header file defines some useful types and some macros functions to faciliate the dual CPU-CUDA compilation targets. Additionally, it introduces several classes to enable the usage of CUDA streams, kernels, and graphs.

Types

real32

real64

complex64

complex128

Macro Definitions

Device Indicators

CUDACC

DEVICE

Host-Device Automation

HD

SHARED

Compilation Options

CUDATOOLS_ARRAY_MAX_AXES

Macro Functions

KERNEL

Device Helpers

BASIC_LOOP

Device Class

DEVICE_CLASS

Memory Functions

CudaTools::malloc

CudaTools::free

CudaTools::copy

CudaTools::memset

CudaTools::pin

Streams and Handles

CudaTools::StreamID

CudaTools::StreamID

CudaTools::Manager

CudaTools::Manager

Kernels

CudaTools::Kernel::launch

CudaTools::Kernel::basic

CudaTools::Kernel::Settings

CudaTools::Kernel::Settings

Graphs

CudaTools::Graph

CudaTools::Graph

CudaTools::GraphManager

CudaTools::GraphManager