Skip to content

Add AMD section to a couple of examples

Churavy, Valentin requested to merge github/fork/ali-ramadhan/patch-3 into master

Created by: ali-ramadhan

If AMDGPU.jl and ROCKernels.jl is mature enough then is it worth adding some AMD examples to the KernelAbstractions.jl examples?

This PR just tacks on an AMD example to the simplest example, memcopy.jl.

The has_rocm_gpu util doesn't belong here obviously (https://github.com/JuliaGPU/AMDGPU.jl/issues/158).

I guess there's some room for improvement since mycopy! is defined almost identically three times, but maybe being verbose here makes for a clearer example.

Hmmm, if AMD examples cannot be tested yet that would be a problem though.

Merge request reports

Loading