ParallelAccelerator

Internal


init()

Called when the package is loaded to do initialization.

source: ParallelAccelerator/src/ParallelAccelerator.jl:209


embed()

This version of embed tries to use JULIA_HOME to find the root of the source distribution. It then calls the version above specifying the path.

source: ParallelAccelerator/src/ParallelAccelerator.jl:185


embed(julia_root)

Call this function if you want to embed binary-code of ParallelAccelerator into your Julia build to speed-up @acc compilation time. It will attempt to add a userimg.jl file to your Julia distribution and then re-build Julia.

source: ParallelAccelerator/src/ParallelAccelerator.jl:138


getPackageRoot()

Generate a file path to the directory above the one containing this source file. This should be the root of the package.

source: ParallelAccelerator/src/ParallelAccelerator.jl:126


getPseMode()

Return internal mode number by looking up environment variable "PROSPECT_MODE".

source: ParallelAccelerator/src/ParallelAccelerator.jl:57


getTaskMode()

Return internal mode number by looking up environment variable "PROSPECT_TASK_MODE". If not specified, it defaults to NO_TASK_MODE, or DYNAMIC_TASK_MODE when getPseMode() is TASK_MODE.

source: ParallelAccelerator/src/ParallelAccelerator.jl:100