File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
doc/extensions/experimental
sycl/ext/oneapi/experimental/cuda Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,18 @@ value to determine which of the extension's APIs the implementation supports.
73
73
74
74
[%header,cols="1,5"]
75
75
|===
76
- |Value |Description
77
- |1 |Initial extension version. Base features are supported.
76
+ |Value
77
+ |Description
78
+
79
+ |1
80
+ |The APIs of this experimental extension are not versioned, so the
81
+ feature-test macro always has this value.
78
82
|===
79
83
80
84
=== Overview
81
85
82
86
This extension introduces asynchronous barrier for CUDA devices. This extends
83
- `group_barrier` by splitting it into into two calls - arrive and wait. The
87
+ `group_barrier` by splitting it into two calls - arrive and wait. The
84
88
wait call blocks until the predetermined number of work items in the same work
85
89
group call arrive. This is also very similar to
86
90
https://en.cppreference.com/w/cpp/thread/barrier[`std::barrier`] introduced
Original file line number Diff line number Diff line change 60
60
#if SYCL_EXT_ONEAPI_BACKEND_LEVEL_ZERO
61
61
#include < sycl/ext/oneapi/backend/level_zero.hpp>
62
62
#endif
63
- #include < sycl/ext/oneapi/barrier.hpp>
63
+ #include < sycl/ext/oneapi/experimental/cuda/ barrier.hpp>
64
64
#include < sycl/ext/oneapi/bf16_storage_builtins.hpp>
65
65
#include < sycl/ext/oneapi/device_global/properties.hpp>
66
66
#include < sycl/ext/oneapi/experimental/builtins.hpp>
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ typedef enum {
316
316
PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_1D = 0x20001 ,
317
317
PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_2D = 0x20002 ,
318
318
PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_3D = 0x20003 ,
319
- PI_EXT_ONEAPI_DEVICE_INFO_CUDA_ASYNC_BARRIER = 0x30000 ,
319
+ PI_EXT_ONEAPI_DEVICE_INFO_CUDA_ASYNC_BARRIER = 0x20004 ,
320
320
} _pi_device_info;
321
321
322
322
typedef enum {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments