intel / intel/llvm

[HIP] Compiling code for different AMD architectures

Open
#6,412 8 comments 0 reactions 0 assignees View on GitHub
enhancement hip
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

DPC++ with HIP AMD backend requires to specify a target architecture via `-Xsycl-target-backend --offload-arch=gfx90a`.
This means that the code should be compiled for each architecture which may be a problem for libraries that have such code.

Is it possible to add support for AMD backend similar to CUDA via `-fsycl-targets=nvptx64-nvidia-cuda`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.