IMX6Q的opencl使用问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q的opencl使用问题

903 Views
wwfdzh2012
Contributor I

请问有没有IMX6Q的opencl方面的详细指导书,官方的文档实在太多,分不清楚?

Labels (1)
0 Kudos
4 Replies

634 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

As start point, You should try the openCL hello world:

OpenCL Hello World 

 

It demonstrate how to create a basic OpenCL based application. Other basic and Complete code is on: opencl/ocl_hello_world at master · andreluizeng/opencl · GitHub 

 

For information related to the OpenCL EP API, access the Khronos websitehttps://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf 

I hope the information shared in this post can help and give you some directions in your future projects.

regards

0 Kudos

634 Views
wwfdzh2012
Contributor I

hello,  Show the error message while compling the BSP source:

CC drivers/mtd/mtdchar.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_allocator.o
LD net/rfkill/rfkill.o
CC drivers/mtd/ofpart.o
LD drivers/net/can/softing/built-in.o
LD net/rfkill/built-in.o
CC drivers/mtd/cmdlinepart.o
LD drivers/net/can/usb/built-in.o
CC drivers/net/can/flexcan.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_dmabuf.o
CC drivers/mmc/core/host.o
CC drivers/mtd/mtd_blkdevs.o
CC drivers/mtd/mtdblock.o
CC drivers/mmc/core/mmc.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_iommu.o
make[3]: *** No rule to make target 'drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/imx6q.o', needed by 'drivers/mxc/gpu-viv/galcore.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_probe.o
LD drivers/net/can/can-dev.o
CC net/ipv4/raw.o
LD drivers/net/can/built-in.o
CC drivers/mtd/chips/chipreg.o
CC drivers/mmc/core/mmc_ops.o
LD drivers/net/ethernet/8390/built-in.o
LD drivers/net/ethernet/arc/built-in.o
LD drivers/net/ethernet/broadcom/built-in.o
LD drivers/net/ethernet/cadence/built-in.o
LD drivers/net/ethernet/cirrus/built-in.o
LD drivers/net/ethernet/faraday/built-in.o
LD drivers/mtd/devices/built-in.o
LD drivers/mtd/lpddr/built-in.o
scripts/Makefile.build:455: recipe for target 'drivers/mxc/gpu-viv' failed
make[2]: *** [drivers/mxc/gpu-viv] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/mxc' failed
make[1]: *** [drivers/mxc] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/mtd/chips/cfi_probe.o
CC drivers/net/ethernet/freescale/fec_main.o
CC drivers/mtd/chips/cfi_util.o
CC drivers/mtd/maps/physmap.o
CC drivers/mmc/core/sd.o
CC drivers/mtd/nand/nand_base.o
CC drivers/mtd/nand/nand_bbt.o
CC drivers/mmc/core/sdio.o
CC drivers/mmc/core/sd_ops.o
LD drivers/mtd/maps/built-in.o
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/tests/built-in.o
CC net/ipv4/udp.o
CC drivers/net/ethernet/freescale/fec_ptp.o
CC drivers/mtd/ubi/vtbl.o
CC drivers/mtd/chips/cfi_cmdset_0002.o

0 Kudos

634 Views
wwfdzh2012
Contributor I

I refer to the document: White Paper | Get started with OpenCL on i.MX6 , and do it step by step,,I found it works default for linux-3.0.35,but my I.MX6 board's linux kernel version is 3.14.52, I use the arm-linux-gnueabihf-gcc to compiler the linux kernel, because of the faster than arm-linux-gnueabi-gcc. So I tried to use the compiler to compile the BSP source: L3.0.35_4.1.0_130816_source.tar.gz, but I failed, it tells me about that my configuration was wrong.

how to compile the BSP of linux kernel 3.14.52 with arm-linux-gnueabihf-gcc compiler, how to config?Thank you!

0 Kudos

634 Views
wwfdzh2012
Contributor I

translate to English:I want to use the OpenCL to compute many 2D data(no standard video or Image),but I can not find the documentation about that,so, please tell me about how to use it. thank you!

0 Kudos