MKL: add comment about APIs with multiple USM inputs, all USM pointers should be of same type #328
Replies: 2 comments 11 replies
-
Hey @spencerpatty -- Actually, I think we should allow mixed USM pointer types in the same call. On the implementation side, it shouldn't be too hard to support, right? For some BLAS APIs, in fact, it will be best to have some USM pointers reside on the host and some on the device, for optimal performance. |
Beta Was this translation helpful? Give feedback.
-
@sknepper @dbollapr @mmeterel @aelizaro @zettai-reido Do you want to contribute to this discussion about USM pointers and whether they need to be all the same type or not... Right now we don't say anything about it in the spec, so in theory each USM pointer should individually be handled whether it is device, host or shared. |
Beta Was this translation helpful? Give feedback.
-
@mkrainiuk @petercad Does it make sense to add to our USM section a comment about APIs with multiple USM inputs needing to have all of them created with the same malloc_XXX api ?
Beta Was this translation helpful? Give feedback.
All reactions