Skip to content

sycl::aspect::emulated is not defined #8324

@kopylovanat

Description

@kopylovanat

Describe the bug
sycl::aspect::emulated defined in 4.6.4.3. Device aspects but not implemented.

To Reproduce

#include <sycl.hpp>

int main() {
  sycl::device d;

  d.has(sycl::aspect::emulated);
}

clang++ -fsycl ./sample_device_aspect.cpp -o sample
Output:

./sample_device_aspect.cpp:7:23: error: no member named 'emulated' in 'sycl::aspect'; did you mean 'template'?
  d.has(sycl::aspect::emulated);
        ~~~~~~~~~~~~~~^~~~~~~~
                      template
./sample_device_aspect.cpp:7:31: error: expected unqualified-id
  d.has(sycl::aspect::emulated);
                              ^
2 errors generated.

Environment:

  • OS: Linux
  • DPC++ version: clang version 16.0.0 (/netbatch/donb3780608_00/runDir/jenkins-dir/workspace/Tools_SH/SYCLOS_Nightly/RHEL/llvm.src/clang 76932e1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CTSImpacts Khronos SYCL CTSbugSomething isn't workingconfirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions