-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Labels
Description
Every adapter (except OpenCL) has their own reference counting helper class or interface, it would be good to create a common UR reference counting interface and share that across all adapters:
- Native CPU: https://github.com/intel/llvm/blob/sycl/unified-runtime/source/adapters/native_cpu/common.hpp#L47
- L0: https://github.com/intel/llvm/blob/sycl/unified-runtime/source/adapters/level_zero/common.hpp#L225
- CUDA: https://github.com/intel/llvm/blob/sycl/unified-runtime/source/adapters/cuda/event.hpp#L68
- HIP: https://github.com/intel/llvm/blob/sycl/unified-runtime/source/adapters/hip/event.hpp#L64