llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][Doc] Specification & design for "if_device_has"

Open gmlueck opened this issue 3 years ago • 2 comments

Add specifications for two proposed extensions:

  • "sycl_ext_oneapi_device_if": Allows device code to conditionally use "optional kernel features" based on the device's aspects.

  • "sycl_ext_intel_device_architecture": Allows device code to conditionally use "optional kernel features" based on the device's architecture.

This PR also adds a design document describing how this can be implemented. However, the design is split into two phases, and the document currently describes only the first phase. We expect to update this design soon(ish) to include the second phase. There are several limitations imposed by the first phase, and these are documented in the extension specifications.

gmlueck avatar Sep 06 '22 22:09 gmlueck

@kbobrovs and @mdtoguchi: I have removed "Draft" status. Please approve or give comments.

@intel/dpcpp-specification-reviewers: I will need an approval from one of you too.

gmlueck avatar Sep 09 '22 19:09 gmlueck

@AerialMantis mentioning you here so you can see this proposal. Comments welcome!

gmlueck avatar Sep 13 '22 15:09 gmlueck

@intel/llvm-gatekeepers can this be merged?

gmlueck avatar Sep 26 '22 17:09 gmlueck