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
I'm on the latest HLC compiler from the branch hsail-stable-3.7. The generated HSAIL code for the following two kernels is identical, even though the first kernel takes args by reference (pointer) and the second kernel takes args by value. I compiled both kernels with -O2.
I'm on the latest HLC compiler from the branch
hsail-stable-3.7
. The generated HSAIL code for the following two kernels is identical, even though the first kernel takesargs
by reference (pointer) and the second kernel takesargs
by value. I compiled both kernels with-O2
.First kernel:
Second kernel:
Compiling both kernels yields identical HSAIL code:
The LLVM IR for the two kernels is:
First kernel:
Second kernel:
The text was updated successfully, but these errors were encountered: