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
Compiling the program above with -O0 gives the following error:
The error is:
> call &IsEmpty (%IsEmpty) ();
> ^
input(27,17): Incompatible types of formal and actual arguments
ERROR: The following command failed with return code 1.
HSAILasm -o /tmp/hsa_finalizer-KenL4R/temp.hsail /tmp/cloc20050/temp.hsail
The corresponding intermediate assembly looks like:
Apparently, the HSAIL code generator outputs an arg_u32 return value type for the IsEmpty() function, but the corresponding argument on the call-site is of type arg_u8.
The text was updated successfully, but these errors were encountered:
I'm on the latest HLC compiler from the branch
hsail-stable-3.7
.Consider the following OpenCL program:
Compiling the program above with
-O0
gives the following error:The corresponding intermediate assembly looks like:
Apparently, the HSAIL code generator outputs an
arg_u32
return value type for theIsEmpty()
function, but the corresponding argument on the call-site is of typearg_u8
.The text was updated successfully, but these errors were encountered: