llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][Doc] Add spec for "sycl" to kernel compiler

Open gmlueck opened this issue 2 years ago • 4 comments

Update the proposed specification for the kernel compiler to allow kernels to be written in the SYCL language, using the new proposed "free function kernel" format.

This PR also adds some more features to the kernel compiler for parity with cuda's nvrtc.

gmlueck avatar Nov 22 '23 18:11 gmlueck

Runtime compilation is an urgently needed feature of SYCL in project development. Thanks for your specification. Also out of curiosity, may the kernel compiler support using inline PTX assembly in SYCL kernel? opencl example. Inline Assembly makes rich low-level hardware features available to programmers.

DongBaiYue avatar Dec 04 '23 17:12 DongBaiYue

Runtime compilation is an urgently needed feature of SYCL in project development. Thanks for your specification. Also out of curiosity, may the kernel compiler support using inline PTX assembly in SYCL kernel? opencl example. Inline Assembly makes rich low-level hardware features available to programmers.

Hi @DongBaiYue, I think this is not strongly related to this extension. Runtime compilation should work for kernels that use any of the SYCL features that available in normal kernels. I'm not sure if normal SYCL kernels can contain PTX assembly, but @AerialMantis might know.

gmlueck avatar Dec 20 '23 22:12 gmlueck

Attention reviewers: I do not plan any more changes to this PR. If you have more comments, please make them soon.

gmlueck avatar Jan 10 '24 22:01 gmlueck

Marking this PR as "draft" only to prevent it from being merged until after these new APIs have been implemented.

This is a new process I'm trying out for cases where we make proposed changes to an extension specification that is already implemented. When these new changes are implemented, we can merge this PR. That way, the extension specification in the repo will always reflect what is currently implemented.

gmlueck avatar Jan 10 '24 23:01 gmlueck