Skip to content

[SYCL][CUDA] Enable cl_khr_3d_image_writes OpenCL extension for NVPTX targets #1977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2020

Conversation

nyalloc
Copy link
Contributor

@nyalloc nyalloc commented Jun 24, 2020

Enable cl_khr_3d_image_writes so that builtin for that image type can be implemented properly.

Note: due the issue #1814, we can't enable this extension for the sycldevice context. This would blindly enable C++ and SYCL modes, making is unusable in libclc. This will be fixed once the issue is resolved.

@bader bader added the cuda CUDA back-end label Jun 24, 2020
@nyalloc nyalloc changed the title [SYCL][CUDA][WIP] Enabled cl_khr_3d_image_writes for NVPTX target [SYCL][CUDA] Enabled cl_khr_3d_image_writes for NVPTX target Jun 24, 2020
@nyalloc nyalloc changed the title [SYCL][CUDA] Enabled cl_khr_3d_image_writes for NVPTX target [SYCL][CUDA] Enable cl_khr_3d_image_writes so that builtin for that image type can be implemented properly. Jun 25, 2020
@nyalloc nyalloc changed the title [SYCL][CUDA] Enable cl_khr_3d_image_writes so that builtin for that image type can be implemented properly. [SYCL][CUDA] Enable cl_khr_3d_image_writes OpenCL extension for NVPTX targets Jun 26, 2020
@nyalloc nyalloc force-pushed the stuart/cl_khr_3d_image_writes branch from 4384f7f to 6153c79 Compare June 26, 2020 14:20
Fznamznon
Fznamznon previously approved these changes Jun 29, 2020
Fznamznon
Fznamznon previously approved these changes Jun 30, 2020
@bader
Copy link
Contributor

bader commented Jul 6, 2020

@StuartDAdams, please, resolve merge conflicts as well.

@nyalloc
Copy link
Contributor Author

nyalloc commented Jul 6, 2020

@StuartDAdams, please, resolve merge conflicts as well.

A bunch of these PRs now have merge conflicts as the SYCL branch has been updated. I'll work through each of them and rebase / fix any conflicts ASAP.

Removed expected warning for cl_khr_3d_image_writes
@nyalloc nyalloc force-pushed the stuart/cl_khr_3d_image_writes branch from 4d1a846 to a1f11cc Compare July 7, 2020 09:57
bader
bader previously approved these changes Jul 7, 2020
@bader bader requested a review from Fznamznon July 7, 2020 14:46
Fznamznon
Fznamznon previously approved these changes Jul 7, 2020
@bader
Copy link
Contributor

bader commented Jul 7, 2020

@StuartDAdams, one test is failing:

error: 'warning' diagnostics seen but not expected:
File /localdisk2/sycl_ci/buildbot/worker/Lit_With_Cuda/llvm.src/clang/test/Misc/nvptx.languageOptsOpenCL.cl Line 128: OpenCL extension 'cl_khr_3d_image_writes' is core feature or supported optional core feature - ignoring
1 error generated.

@nyalloc nyalloc dismissed stale reviews from Fznamznon and bader via 51a529a July 9, 2020 13:14
bader
bader previously approved these changes Jul 9, 2020
@Fznamznon
Copy link
Contributor

Still failing

error: 'warning' diagnostics expected but not seen: 
  File /localdisk2/sycl_ci/buildbot/worker/Lit_With_Cuda/llvm.src/clang/test/Misc/nvptx.languageOptsOpenCL.cl Line 128 (directive at /localdisk2/sycl_ci/buildbot/worker/Lit_With_Cuda/llvm.src/clang/test/Misc/nvptx.languageOptsOpenCL.cl:130): OpenCL extension 'cl_khr_3d_image_writes' is core feature or supported optional core feature - ignoring
1 error generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA back-end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants