JuliaGPU / JuliaGPU/KernelAbstractions.jl
How do I detect what GPU is installed on a host?
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 523
- Forks
- 88
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 25
Description
I want to build a standalone module that can run on any supported GPU.
How do I detect what packages need to be loaded so that I can have a pattern like
if isCUDAsupported()
using CUDA
backend = CUDABackend()
elseif isMetalsupported()
using Metal
backend = MetalBackend()
elseif etc
else
@warn "No supported accelerator detected. GPU kernels will be executed on the CPU!"
backend = CPU()
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files, tests, or entry points. Start by reviewing how KernelAbstractions.jl currently exposes GPU backends and how CUDA and Metal packages are loaded; done would mean an agreed, documented approach or implementation for selecting a supported backend and falling back to CPU.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100