Using the nuget package with a (range:_2D) object, using range.LocalID1 is translated to (range) . LocalID1 in OpenCL which triggers a kernel compilation failure.
Repro steps
Download latest Brahma.FSharp from Nuget in a project
Write a kernel that access the second local id.
Expected behavior
range.LocalID1 should be translated to get_local_idx(1)
Actual behavior
range.LocalID1 is considered as a structure + member
Description
Using the nuget package with a (range:_2D) object, using range.LocalID1 is translated to (range) . LocalID1 in OpenCL which triggers a kernel compilation failure.
Repro steps
Expected behavior
range.LocalID1 should be translated to get_local_idx(1)
Actual behavior
range.LocalID1 is considered as a structure + member
Related information