Port details on branch 2022Q2 |
- pocl POrtable Computing Language (POCL)
- 4.0 lang =0 4.0Version of this port present on the latest quarterly branch.
- Maintainer: ohartmann@walstatt.org
- Port Added: 2016-11-21 14:36:59
- Last Update: 2023-09-06 20:50:40
- Commit Hash: d1a08b1
- License: MIT
- WWW:
- http://portablecl.org/
- Description:
- [
{ type: install
message: <<EOM
Portable OpenCL (pocl)
----------------------
Portable OpenCL (>= 3.0) aims to be an efficient open source
(MIT-licensed) implementation of the OpenCL 2.X standard with
adaptions of OpenCL 3.0.
In addition to producing an easily portable open source OpenCL
implementation, another major goal of the project is improving
performance portability of OpenCL programs with compiler
optimizations, reducing the need for target-dependent manual
optimizations. At the core of pocl is a set of LLVM passes
used to statically parallelize multiple work-items with the kernel
compiler, even in the presence of work-group barriers. This enables
parallelization of the fine-grained static concurrency in the work
groups in multiple ways (SIMD, VLIW, superscalar,...).
The code base is modularized to allow easy adding of new "device drivers"
in the host-device layer. A generic multithreaded "target driver" is
included. It allows running OpenCL applications on a host that supports
the pthread library with multithreading at the work group granularity.
EOM
}
]
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/pocl/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/pocl
- pkg install pocl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: pocl
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1687856826
SHA256 (pocl-pocl-v4.0_GH0.tar.gz) = 7f4e8ab608b3191c2b21e3f13c193f1344b40aba7738f78762f7b88f45e8ce03
SIZE (pocl-pocl-v4.0_GH0.tar.gz) = 2140919
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- llvm16>=14 : devel/llvm16
- opencl>=3 : devel/opencl
- py39-sphinx>=0 : textproc/py-sphinx@py39
- cmake : devel/cmake-core
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- Library dependencies:
-
- libhwloc.so : devel/hwloc2
- libOpenCL.so : devel/ocl-icd
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for pocl-4.0:
DOCS=on: Build documentation (needs textproc/py-sphinx)
===> Use 'make config' to modify these settings
- Options name:
- lang_pocl
- USES:
- cmake localbase:ldflags ncurses pkgconfig python
- pkg-message:
- For install:
-
Deadlocks (freezes) on FreeBSD:
OpenCL applications using pocl on FreeBSD must be compiled with
options CFLAGS+=-pthread or CXXFLAGS+=-pthread, otherwise someone risk
that a library may not initialize the threading on BSD independently,
even if an ICD loader is used.
See:
http://www.freebsd.org/cgi/query-pr.cgi?pr=163512
(Source: http://portablecl.org/docs/html/faq.html?highlight=freebsd)
- Master Sites:
|