File tree Expand file tree Collapse file tree 4 files changed +9
-1
lines changed Expand file tree Collapse file tree 4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4444//
4545#include " CL/cl.h"
4646#define _PI_H_VERSION_MAJOR 5
47- #define _PI_H_VERSION_MINOR 7
47+ #define _PI_H_VERSION_MINOR 8
4848
4949#define _PI_STRING_HELPER (a ) #a
5050#define _PI_CONCAT (a, b ) _PI_STRING_HELPER(a.b)
Original file line number Diff line number Diff line change @@ -2252,6 +2252,9 @@ pi_result cuda_piQueueFinish(pi_queue command_queue) {
22522252 return result;
22532253}
22542254
2255+ // There is no CUDA counterpart for queue flushing and we don't run into the
2256+ // same problem of having to flush cross-queue dependencies as some of the
2257+ // other plugins, so it can be left as no-op.
22552258pi_result cuda_piQueueFlush (pi_queue command_queue) { return PI_SUCCESS; }
22562259
22572260// / Gets the native CUDA handle of a PI queue object
Original file line number Diff line number Diff line change @@ -2202,6 +2202,9 @@ pi_result hip_piQueueFinish(pi_queue command_queue) {
22022202 return result;
22032203}
22042204
2205+ // There is no HIP counterpart for queue flushing and we don't run into the
2206+ // same problem of having to flush cross-queue dependencies as some of the
2207+ // other plugins, so it can be left as no-op.
22052208pi_result hip_piQueueFlush (pi_queue command_queue) { return PI_SUCCESS; }
22062209
22072210// / Gets the native HIP handle of a PI queue object
Original file line number Diff line number Diff line change @@ -2997,6 +2997,8 @@ pi_result piQueueFinish(pi_queue Queue) {
29972997 return PI_SUCCESS;
29982998}
29992999
3000+ // Flushing cross-queue dependencies is covered by createAndRetainPiZeEventList,
3001+ // so this can be left as a no-op.
30003002pi_result piQueueFlush (pi_queue Queue) { return PI_SUCCESS; }
30013003
30023004pi_result piextQueueGetNativeHandle (pi_queue Queue,
You can’t perform that action at this time.
0 commit comments