26 #define MAX_EXEC_PLANS 10
34 #define OVERSAMPLE false
36 #define MAX_PARAMS_MAP 3
42 #ifndef MAX_GPU_DEVICES
43 #define MAX_GPU_DEVICES 4
47 #define MAX_POSSIBLE_CUDA_STREAMS_PER_GPU 32
50 #define SKEPU_NUMGPU 1
51 #elif defined(SKEPU_CUDA) // Only when CUDA is enabled and multi-GPU is possible
56 #define SHMEM_SAFITY_BUFFER 30
59 #define REDUCE_GPU_THRESHOLD 50
62 #define OPENCL_SOURCE_FILE_NAME "opencl_datatype_src.cl"
65 #ifndef SKEPU_CUDA_DEV_ID
66 #define SKEPU_CUDA_DEV_ID 0
77 #include "src/device_allocations_cu.h"
Contains few helper methods that are used globally by different classes.
Defines a few macros that includes macros to output text when debugging. The macros use std::cerr...
Contains the definitions of some helper functions related to CUDA backend.
Contains the definitions of some helper functions related to OpenCL backend.