Skip to content

Commit

Permalink
Simplified the SYCL build flags for AMD and NVIDIA backends.
Browse files Browse the repository at this point in the history
  • Loading branch information
krasznaa committed May 30, 2024
1 parent eb1ddea commit 3e9c336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ubuntu2004_cuda_oneapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ RUN apt-get update && \
ENV CC="clang"
ENV CXX="clang++"
ENV SYCLCXX="clang++ -fsycl"
ENV SYCLFLAGS="-fsycl-targets=spir64,spir64_x86_64,nvidia_gpu_sm_75 -Wno-unknown-cuda-version -Xclang -opaque-pointers"
ENV SYCLFLAGS="-fsycl-targets=nvidia_gpu_sm_75 -Wno-unknown-cuda-version"
2 changes: 1 addition & 1 deletion ubuntu2004_rocm_oneapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN apt-get update && \
ENV CC="clang"
ENV CXX="clang++"
ENV SYCLCXX="clang++ -fsycl"
ENV SYCLFLAGS="-fsycl-targets=spir64,spir64_x86_64,amd_gpu_gfx803 -Xclang -opaque-pointers"
ENV SYCLFLAGS="-fsycl-targets=amd_gpu_gfx1031"

0 comments on commit 3e9c336

Please sign in to comment.