intel / intel/llvm

[UR] Unify reference counting helpers across adapters

Open
#18,644 1 comment 0 reactions 1 assignee Claimed by @martygrant View on GitHub
enhancement unified-runtime
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.