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
Describe the bug
Passing local data to integrated quotes causes a compilation error. passing '__local int *' to parameter of type 'int *' changes address space of pointer int buff = buffUnitFunc (resultLocalBuffer) ;
To Reproduce
Compile this:
let someFun someOp =
<@ fun (localBuffer: int []) ->
let buff = (%someOp) localBuffer.[0] localBuffer.[0]
() @>
let kernel =
<@ fun (ndRange: Range1D) ->
let array = localArray<int> workGroupSize
(%someFun <@ (+) @>) localArray @>
Expected behavior
Compilation is success.
Desktop (please complete the following information):
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
Passing local data to integrated quotes causes a compilation error.
passing '__local int *' to parameter of type 'int *' changes address space of pointer int buff = buffUnitFunc (resultLocalBuffer) ;
To Reproduce
Compile this:
Expected behavior
Compilation is success.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: