lang/libclc 21.1.8 NetBSD
OpenCL library
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
a4856445ee- License
- apache-2.0
- Categories
- lang
- Package size
- 7992.3 KiB, 71929.0 KiB installed
Description
libclc is an open source implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. The following sections of the specification impose library requirements:
6.1: Supported Data Types
6.2.3: Explicit Conversions
6.2.4.2: Reinterpreting Types Using as\_type() and as\_typen()
6.9: Preprocessor Directives and Macros
6.11: Built-in Functions
9.3: Double Precision Floating-Point
9.4: 64-bit Atomics
9.5: Writing to 3D image memory objects
9.6: Half Precision Floating-Point
libclc is intended to be used with the Clang compiler's OpenCL frontend.
libclc is designed to be portable and extensible. To this end, it provides generic implementations of most library requirements, allowing the target to override the generic implementation at the granularity of individual functions.
Install
Binary package:
pkgin install libclc
From pkgsrc:
cd /usr/pkgsrc/lang/libclc && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 21.1.8 |
| NetBSD 10.1 aarch64 | - |
| SmartOS / illumos x86_64 | 22.1.8nb1 |
| macOS 15 arm64 | 22.1.8nb1 |
Dependencies
Run dependencies 5
No port depends on this one.