intel / intel/llvm

[SYCL] How OpenCL device mode is being reused for SYCL

Open
#59 13 comments 0 reactions 0 assignees View on GitHub
upstream
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

This is to track the discussion about the device compilation flow in the Clang frontend.

There are multiple ways OpenCL features can be reused:
- At source level by implementing SYCL libraries using C++ for OpenCL code and enabling OpenCL in LangOpts for SYCL device.
- At AST level by mapping SYCL constructs onto OpenCL AST nodes.
- At IR CodeGen level by re-using OpenCL CodeGen functionality.

The objective is to avoid code duplication as much as possible and to keep code base simpler/easier to maintain.

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.