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/shared.jl
+17-16Lines changed: 17 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -15,22 +15,23 @@ Return an expression that evaluates to `true` if the indices generated by @paral
15
15
This macro is not intended for explicit manual usage. Calls to it are automatically added by @parallel where required.
16
16
"""
17
17
18
-
const SUPPORTED_NDIMS = [1, 2, 3]
19
-
const NDIMS_NONE =0
20
-
const ERRMSG_KERNEL_UNSUPPORTED ="unsupported kernel statements in @parallel kernel definition: @parallel is only applicable to kernels that contain exclusively array assignments using macros from FiniteDifferences{1|2|3}D or from another compatible computation submodule. @parallel_indices supports any kind of statements in the kernels."
21
-
const ERRMSG_CHECK_NDIMS ="ndims must be evaluatable at parse time (e.g. literal or constant) and has to be one of the following Integers: $(join(SUPPORTED_NDIMS,", "))"
22
-
const ERRMSG_CHECK_MEMOPT ="memopt must be evaluatable at parse time (e.g. literal or constant) and has to be of type Bool."
const MOD_METADATA =:__metadata__# gensym_world("__metadata__", @__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 ERRMSG_KERNEL_UNSUPPORTED ="unsupported kernel statements in @parallel kernel definition: @parallel is only applicable to kernels that contain exclusively array assignments using macros from FiniteDifferences{1|2|3}D or from another compatible computation submodule. @parallel_indices supports any kind of statements in the kernels."
21
+
const ERRMSG_CHECK_NDIMS ="ndims must be evaluatable at parse time (e.g. literal or constant) and has to be one of the following Integers: $(join(SUPPORTED_NDIMS,", "))"
22
+
const ERRMSG_CHECK_MEMOPT ="memopt must be evaluatable at parse time (e.g. literal or constant) and has to be of type Bool."
const MOD_METADATA =:__metadata__# gensym_world("__metadata__", @__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
0 commit comments