oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

Query position index in event pool out of an event handle #90

Closed CaoZhongZ closed 2 years ago

CaoZhongZ commented 2 years ago

L0 event involves a position index inside event pool. However given an event handle, there is no way to tell what the index was, which complicates the situation when people freed the event and want to reuse the slot. It would be nicer to have an interface querying the index, or a zeEventDestroyAndReturnIndex something like that.

jandres742 commented 2 years ago

hi @CaoZhongZ thanks for your question.

would you mind posting your question directly on the spec repo? we have it now and we are working on moving all issues there. Thanks

https://github.com/oneapi-src/level-zero-spec/issues

CaoZhongZ commented 2 years ago

Will do. Thanks for the info.