-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.noformat
43 lines (33 loc) · 1.3 KB
/
README.noformat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
mkn.gpu
CUDA/HIP C++17 convenience wrappers
======
Whether you are using CUDA or ROCM, we attempt to deduce from available headers.
If automatic detection fails, specify appropriate define like `-DMKN_GPU_CUDA=1`
See: inc/mkn/gpu/defines.hpp
Compile argument switches
Key MKN_GPU_CUDA
Type bool
Default 0
Description activate CUDA as impl of mkn::gpu::*
Key MKN_GPU_ROCM
Type bool
Default 0
Description activate ROCM as impl of mkn::gpu::*
Key MKN_GPU_FN_PER_NS
Type bool
Default 0
Description expose functions explicitly via
mkn::gpu::hip::*
mkn::gpu::cuda::*
Key _MKN_GPU_THREADED_STREAM_LAUNCHER_WAIT_MS_
Type uint
Default 1
Description Initial wait time in milliseconds for polling active jobs for completion
Key _MKN_GPU_THREADED_STREAM_LAUNCHER_WAIT_MS_ADD_
Type uint
Default 10
Description Additional wait time in milliseconds for polling active jobs for completion when no job is finished.
Key _MKN_GPU_THREADED_STREAM_LAUNCHER_WAIT_MS_MAX_
Type uint
Default 100
Description Max wait time in milliseconds for polling active jobs for completion when no job is finished.