Questions tagged [pocl]

Portable Computing Language (pocl) strives to have improved portability and performance without the need for specific target device configuration, using compiler optimisations. With a view to becoming open source as an OpenCL standard being licenced under MIT.

Portable Computing Language (pocl) strives to have improved portability and performance without the need for specific target device configuration, through compiler optimisations. With a view to becoming open source as an OpenCL standard being licenced under MIT.

From Portable Computing Language at sourceforge

Portable Computing Language (pocl) aims to become a MIT-licensed open source implementation of the OpenCL standard which can be easily adapted for new targets and devices, both for homogeneous CPU and heterogenous GPUs/accelerators.

pocl uses Clang as an OpenCL C frontend and LLVM for the kernel compiler implementation, and as a portability layer. Thus, if your desired target has an LLVM backend, it should be able to get OpenCL support easily by using pocl.

The goal is to accomplish improved performance portability using a kernel compiler that can generate multi-work-item work-group functions that exploit various types of parallel hardware resources: VLIW, superscalar, SIMD, SIMT, multicore, multithread ...

For more information see the documentation.

16 questions
4
votes
2 answers

What is the difference between POCL(Portable Computing Language) and OpenCL?

What is the difference between POCL(Portable Computing Language) and OpenCL, and what are the advantages POCL? http://pocl.sourceforge.net/ Does POCL have a C-like language, which is different from OpenCL, a different compiler (Clang> = 3.2),…
Alex
  • 12,578
  • 15
  • 99
  • 195
3
votes
1 answer

Configuring pocl for RISCV

I am trying to use pocl to cross-compile OpenCL programs for RISCV64. Slide 18 at this link: https://riscv.org/wp-content/uploads/2015/01/riscv-software-toolchain-workshop-jan2015.pdf seems to suggest that it is possible to generate scalar code for…
kchanuec
  • 55
  • 5
2
votes
1 answer

intel sycl supports a-head-of time compile and cross-compile ARM?

I am considering to build SYCL and OpenCL environment with the intel sycl and pocl by a-head-of-time compile and run them on ARM CPU board. In theory, I think that is possible if intel sycl supports cross-compile. Could you tell me some comment or…
jin
  • 21
  • 1
1
vote
1 answer

why is linking to libOpenCL.dylib failing with undefined symbol

I am trying to build the pocl library on MacOS System: MBP 16" 2019 Intel i9, AMD Radeon 5500m Mac OS 12.4 using bash, instead of zsh llvm from home-brew, -version 14 I have the following in my .bash_profile to setup the build environment export…
Vince W.
  • 3,561
  • 3
  • 31
  • 59
1
vote
0 answers

install OpenCL ICD Loader to ubuntu12 on Zedboard occured error

i want to run opencl on zedboard and now i'm failing to install ocl_icd on ubuntu12 i refer to the page "https://github.com/umaurmi/OPENCL_EXAMPLES_ZEDBOARD/wiki/Installing-POCL-dependencies-on-Ubuntu-linux-based-targets" "./configure" complete…
ziteng
  • 11
  • 1
0
votes
0 answers

OpenCL Example Procet with POCL

I built and installed pocl on ubuntu, and also checked it with clinfo command, everything is normal. I'm new to OpenCL, I couldn't build an example that was copied from example0 after installed. I did not find dependency libraries of examples in the…
Gokhan Sahin
  • 165
  • 2
  • 15
0
votes
1 answer

How to install PoCL(Portable Computing Language) on a Windows system?

Like the title implied, I'm currently trying to install/use PoCL in a Visual Studio project, but I'm completely lost as to how to do that. I wasn't able to find any guides or tutorials on the topic and the documentation on their website apparently…
Domovyak
  • 1
  • 1
0
votes
1 answer

cross-compile pocl with ARM cross-compiler on Ubuntu x64 PC

I want to cross-compile pocl with ARM cross-compiler on Ubuntu x64 PC. compile the pocl1.4 and generate ARM executable files of it with ARM cross-compiler that operates on Ubuntu x64 PC offline-compile a kernel.cl and generate ARM executable files…
jin
  • 21
  • 1
0
votes
1 answer

How to enable the "basic" device in pocl?

I have installed pocl. make check shows all 145 tests passed. The build shows that --******** Enabled features: ...... -- OCL_DRIVERS (Drivers built): basic pthreads ...... But clinfo command shows only pthreads as the only device for the pocl…
Madhav
  • 84
  • 9
0
votes
2 answers

OpenCL POCL + asan or valgrind

I am trying to debug my OpenCL kernel. I think, the error is in wrong memory allocation. So, I'am looking for a way to detect it. Long story short, could I just run OpenCL kernel on POCL platform and check it with well-known instruments?
0
votes
1 answer

Selecting OpenCL CPU platform in Compute.scala

I installed 3 different OpenCL runtimes on my laptop: NVIDIA CUDA OpenCL on GPU Intel OpenCL SDK on CPU POCL (also on CPU) As a result, here is a part of the result of clinfo: $ clinfo Number of platforms 3 Platform…
Florent F
  • 591
  • 6
  • 16
0
votes
1 answer

Offline compilation in POCl

Is there any inbuilt offline compilation method in pocl - Portable Computing Language http://portablecl.org.
Prashant Ravi
  • 189
  • 12
0
votes
1 answer

libfreenect2 example Protonect only showing raw feed?

I figure the Protonect example in libfreenect2 is supposed to show more than just this raw feed? I am running Linux Mint 17.2 and pocl 0.11 for OpenCL on an i7 4790. The system has llvm-3.6 installed. This is the output of clinfo. Number of…
kotakotakota
  • 731
  • 8
  • 26
0
votes
1 answer

Pocl `make check` fails all tests

I'm trying to set up pocl-0.11 on an ARM (llvm-3.3). I used ./configure --enable-debug --disable-icd --enable-testsuites=all (I'd like to get pocl to run without ICD loader as a first step). During configure I got a couple of warnings about disabled…
random
  • 47
  • 1
  • 7
0
votes
1 answer

Can POCL be used in iOS devices

I am actually very new to OpenCL and POCL. Can we use POCL in iOS devices. I see the docs contains the usage details in Android http://portablecl.org/docs/html/using.html#using-pocl-on-android But I am not able to find it for iOS devices. It seems…
sag
  • 5,333
  • 8
  • 54
  • 91
1
2