You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ParallelKernel/shared.jl
+34-12Lines changed: 34 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,22 @@ izd(count) = @ModuleInternalError("function izd had not been evaluated at parse
16
16
const MOD_METADATA_PK = gensym_world("__metadata_PK__", @__MODULE__) # # TODO: name mangling should be used here later, or if there is any sense to leave it like that then at check whether it's available must be done before creating it
const INT_CUDA = Int64 # NOTE: unsigned integers are not yet supported (proper negative offset and range is dealing missing)
25
26
const INT_AMDGPU = Int64 # NOTE: ...
27
+
const INT_KERNELABSTRACTIONS = Int64 # NOTE: KernelAbstractions dispatch defaults to CPU integers until a GPU-specific handle is selected at runtime.
26
28
const INT_METAL = Int64 # NOTE: ...
27
29
const INT_POLYESTER = Int64 # NOTE: ...
28
30
const INT_THREADS = Int64 # NOTE: ...
29
31
const COMPUTE_CAPABILITY_DEFAULT = v"∞"# having it infinity if it is not set allows to directly use statements like `if compute_capability < v"8"`, assuming a recent architecture if it is not set.
30
32
const NTHREADS_X_MAX =32
31
33
const NTHREADS_X_MAX_AMDGPU =64
34
+
const NTHREADS_X_MAX_KERNELABSTRACTIONS =32
32
35
const NTHREADS_MAX =256
33
36
const INDICES = (gensym_world("ix", @__MODULE__), gensym_world("iy", @__MODULE__), gensym_world("iz", @__MODULE__))
0 commit comments