-
Notifications
You must be signed in to change notification settings - Fork 265
Open
llvm/llvm-project
#180318Description
When trying to compile the kernel below, I get a "Segmentation fault (core dumped)" message if I use my IGPU as device target or
FPToSI source must be FP or FP vector
LLVM ERROR: Broken module found, compilation aborted!
Aborted (core dumped)
if I use my cpu as target.
__kernel void test() {
int a[3] = {1, 2, 3};
int3 b = (int3)(a);
printf("%d\n", b);
}
The kernel is wrong, instead of (int3)(a[0], a[1], a[2]), I wrote int3(a) unassumingly. My problem is that there was no error message from the kernel compiler, which I believe is not the intended behavior and made debugging a longer kernel quite difficult.
I am not sure whether this repository is the correct one to submit this issue to but I hope you can give some guidance as of where to turn with this bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels