Skip to content

Commit

Permalink
restore name mangling for meta data module
Browse files Browse the repository at this point in the history
  • Loading branch information
omlins committed Dec 6, 2024
1 parent d0e9cc4 commit 493374e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ParallelKernel/shared.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/shared.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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__))


Expand Down

0 comments on commit 493374e

Please sign in to comment.