-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Hi, I am using Tullio for a CUDA project and having some trouble using it to slice into CUDA arrays (maybe this is inappropriate).
Here is a minimal example of the issue:
using CUDA, Tullio
# Define function that takes slices of z on the RHS.
batch_maximum(z) = @tullio res[ii] := maximum(z[:, ii])
x_cpu = randn(2,5)
batch_maximum(x_cpu) # Runs fine.
x_gpu = CUDA.randn(2,5)
batch_maximum(x_gpu) # Errors with Reason: unsupported dynamic function invocation
Any help would be very appreciated!
Metadata
Metadata
Assignees
Labels
No labels