I have recently purchased Quradcore imx6 wandboard
i have installed linux 3.10 on board
when i am trying to execute opencl program on board it is saying segment fault for every program of OpenCL.
my make file is
INCLUDE= /home/opencl_inc/include/
SRC= .
OPENCL_LIB = -lGAL -lOpenCL
all:
/home/compiler/gcc-linaro-arm-linux/bin/arm-linux-gnueabihf-gcc $(CFLAGS) -I. -I/$(INCLUDE) -L. -L/home/opencl_inc/lib opencl_test.c $(OPENCL_LIB) -o cl_sample
the program is getting compiled successfully and creates binary for it without any error.
also for other sample programm getting error related to clGetPlatformID clCreateContext, clEnqueNDRangeKernel ..
any help will be highly appreciable.
Original Attachment has been moved to: opencl_test.c.zip