Skip to content

nd_item::barrier has been deprecated #2086

@EikanWang

Description

@EikanWang

As the title, the barrier function of the nd_item class has been deprecated in the SYCL spec 2020. In torch-xpu-ops, we need to replace nd_item::barrier with group_barrier. By the way, we need to check if there is any compile option to expose all the deprecated functions.
https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#group-barrier

cc @fengyuan14

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions