Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,810
    • Issues 3,810
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An update will be applied May 24th, between 12PM and 1PM EDT (UTC -400). The site may be slow during that time.

  • CMake
  • CMakeCMake
  • Issues
  • #21711

Closed
Open
Created Jan 15, 2021 by Harini Chilamantula@HariniContributor

Need a module to check for SYCL support and add in SYCL features

Proposing to add a Find Module for SYCL. An implementation is proposed to be added through this Pull request. !5701 (closed)

The need:

(1) SYCL is not a language but a library that is built on CXX. (a) Treating SYCL as language requires lot of redundant changes in Module/Platforms and Module/Compilers. (b) Rather, we want to have all the CXX support added through DetermineCXX.cmake and Platforms/CXX.cmake and ONLY add incremental SYCL features when user explicitly loads the SYCL module.

(2) oneAPI needs seemless compile/run environment with or without SYCL. For Intel's SYCL compilers, use icx/icpx and pass flags that supports SYCL/DPCPP when user intends to compile the code using SYCL compiler. For non-Intel SYCL compilers, verify if the CMAKE_CXX_COMPILER actually supports SYCL or not. And if the compiler is of clang family, pass in -fsycl to clang to enable Sycl compiler.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking