-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
numba-dpex doesn't allow range multiplications inside NdRange #1159
Comments
The and to see how to use
|
In SYCL, two @roxx30198 could you please post a complete code? It's a new feature that needs to be implemented. |
Added the expected output. I couldn't get to exactly print the dimensions of final range object but I have verified it is the multiplication of corresponding elements in the tuple. |
Below is a valid sycl code where we are allowed to multiply two sycl::range objects.
dimBlock * dimGrid is expected to produce range object with dimensions (1, 1, blockCols* BLOCK_SIZE) in this case.
However this isn't allowed in numba-dpex ndrange.
This throws an error:
TypeError: can't multiply sequence by non-int of type 'Range'
The text was updated successfully, but these errors were encountered: