|
|
|
|
|
by krasin
1496 days ago
|
|
Can you please recommend an open source codebase that uses Julia + CUDA and that can be used to learn that combination? I am considering starting a CUDA-related project and Julia is a serious contender, but I am scared to hit too many rough edges. |
|
One of julia's strengths is it's macro and type system. StructArrays.jl uses them to create a SoA struct out of a AoS. This is a killer feature that generally requires some form of code generation in C/C++.
Even if you're just doing something on the cpu, it should set you up to be both simd & gpu friendly. They have a guide on how to swap out the underlying array storage from cpu to gpu memory
fwiw, cuda is a "Tier 1" supported architecture[1], where "Tier 1" is defined as
> Tier 1: Julia is guaranteed to build from source and pass all tests on these platforms when built with the default options. Official binaries are always available and CI is run on every commit to ensure support is actively maintained.
[0] https://github.com/JuliaArrays/StructArrays.jl
[1] https://julialang.org/downloads/#supported_platforms