You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ROCCellArray fails when setting field(A, 1)[in] = 1 within a kernel in the following MWE (note that the CUDA analogue works as expected):
using AMDGPU
using CellArrays
using StaticArrays
functioninit!(A)
in=workitemIdx().x + (workgroupIdx().x -1) *workgroupDim().x
field(A, 1)[in] =1returnendfunctionmwe()
n_l =2
celldims = (n_l, 1)
n_loc = SMatrix{celldims..., Int32, prod(celldims)} # needs to be of type Int as those are indices
A =ROCCellArray{n_loc}(undef, 1)
AMDGPU.@sync@roc groupsize=1init!(A)
returnendmwe()
ROCCellArray
fails when settingfield(A, 1)[in] = 1
within a kernel in the following MWE (note that the CUDA analogue works as expected):with following trace:
The text was updated successfully, but these errors were encountered: