Worker Utilities
Index
References
GPUInspector.@worker — Macro@worker pid exSpawns the given command on the given worker process.
Examples:
@worker 3 GPUInspector.functional()
@worker 3 stresstest(CUDA.devices(); duration=10, verbose=false)GPUInspector.@worker — Macro@worker exCreates a worker process, spawns the given command on it, and kills the worker process once the command has finished execution.
Implementation: a Julia thread (we use @spawn) will be used to wait on the task and kill the worker.
Examples:
@worker GPUInspector.functional()
@worker stresstest(CUDA.devices(); duration=10, verbose=false)GPUInspector.@worker_create — Macro@worker_create n -> pidsCreate n workers (i.e. separate Julia processes) and execute using GPUInspector, CUDA on all of them. Returns the pids of the created workers.
GPUInspector.@worker_killall — MacroKills all Julia workers.