Replies: 3 comments 1 reply
-
It's not the question "Should filter string or SyclQueue be used for compute follows data?" it is question "what information we should use to dispatch numba-dpex functions". And it is not related to dpctl actually. As I said here #945 (comment) Device information must be part of this dispatch mechanics. I.e. be part of type signature. Either DpnpArray or SyclQueue or SyclDevice. We have options. Also it is not necessary to be
I don't need device rank itself. I need clear way to differ one device from another. Since |
Beta Was this translation helpful? Give feedback.
-
I feel we are talking about the same thing. There is no disagreement that device information is required to correctly compile and dispatch. We are already doing that by extracting the information from the queue. The current dispatcher does that by only looking at the You want some way to manually inspect the device information from the type signature, right? We can add the |
Beta Was this translation helpful? Give feedback.
-
@AlexanderKalistratov based on our conversation I now understand your point. The issue is not about the The issue you are raising is that the type signature of the DpnpNdArray should be defined such that Numba does not recompile the function just because the queue changed. To address the issue, we need a way to define the |
Beta Was this translation helpful? Give feedback.
-
The compute follows data requires that the execution of a kernel takes place on the device where the data was allocated. The question is is using the device filter string enough to decide where execution takes place or do we need to enforce the restriction on the actual queue?
Beta Was this translation helpful? Give feedback.
All reactions