Altera_Forum
Honored Contributor
7 years agoOpenCL compiler crashed when compile some piece of simple code
Hi there, I got some trouble when I was trying to compile some complex OpenCL program with Intel FPGA OpenCL Offline Compiler.
then compiler crashed, so I try to remove some code to examine this problem, finally I got a piece of simple test code which could result in crash of compiler:void testB(ulong8 p, ulong8 h, ulong h8, const ulong* restrict t)
{
ulong4 p1;
ulong8 p2;
p1 = shuffle((ulong4)h8, (ulong4)44);
p2 = shuffle2(p, h, (ulong8)55);
}
__kernel void testA(__global uint8* p)
{
ulong ta={0};
testB(1,2,3,ta);
}
it looks like the opencl builtin functions like shuffle and shuffle2 caused the crash The command line that I used to compile is: aoc -v -g --report skein.cl The compiler version is:
Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler
Version 17.0.0 Build 290
Copyright (C) 2017 Intel Corporation
the compile log will be posted with attachment. Is there anyone got same problem as me ? thanks for your time.