diff --git a/src/ParallelKernel/shared.jl b/src/ParallelKernel/shared.jl index 2155ab7..5d4a4f8 100644 --- a/src/ParallelKernel/shared.jl +++ b/src/ParallelKernel/shared.jl @@ -13,7 +13,7 @@ ixd(count) = @ModuleInternalError("function ixd had not been evaluated at parse iyd(count) = @ModuleInternalError("function iyd had not been evaluated at parse time") izd(count) = @ModuleInternalError("function izd had not been evaluated at parse time") -const MOD_METADATA_PK = :__metadata_PK__ # 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 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 PKG_CUDA = :CUDA const PKG_AMDGPU = :AMDGPU const PKG_METAL = :Metal diff --git a/src/shared.jl b/src/shared.jl index 6066210..b855d03 100644 --- a/src/shared.jl +++ b/src/shared.jl @@ -34,7 +34,7 @@ const USE_SHMEMHALO_1D_DEFAULT = true const USE_FULLRANGE_DEFAULT = (false, false, true) const FULLRANGE_THRESHOLD = 1 const NOEXPR = :(begin end) -const MOD_METADATA_PS = :__metadata_PS__ # 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 MOD_METADATA_PS = gensym_world("__metadata_PS__", @__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 META_FUNCTION_PREFIX = string(gensym_world("META", @__MODULE__))