Deprecated: Abandoned upstream, does not build with CMake 4
Expires: 2026-11-30
math/clrng 1.0.0.b_4 FreeBSD
Library for uniform random number generation in OpenCL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
cef35204ab- License
- BSD2CLAUSE
- Categories
- math
- Package size
- 56.0 KiB, 258.9 KiB installed
Description
clRNG
a library for uniform random number generation in OpenCL.
Streams of random numbers act as virtual random number generators. They can be created on the host computer in unlimited numbers, and then used either on the host or on computing devices by work items to generate random numbers. Each stream also has equally-spaced substreams, which are occasionally useful. The API is currently implemented for four different RNGs, namely the MRG31k3p, MRG32k3a, LFSR113 and Philox-4x32-10 generators.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/clrng | 1.0.0.b_4 |
| DragonFly | math/clrng | 1.0.0.b_3 |
| HardenedBSD | math/clrng | 1.0.0.b_4 |
| GhostBSD | math/clrng | 1.0.0.b_4 |
Install
Binary package:
pkg install clrng
From the ports tree:
cd /usr/ports/math/clrng/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= clrng>0:math/clrng
LIB_DEPENDS= libclRNG.so:math/clrng
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.0.b_4 | 1.0.0.b_4 | - | - | 1.0.0.b_4 |
| FreeBSD:14:quarterly | 1.0.0.b_4 | 1.0.0.b_4 | n/a | - | 1.0.0.b_4 |
| FreeBSD:15:latest | 1.0.0.b_4 | 1.0.0.b_4 | n/a | - | 1.0.0.b_3 |
| FreeBSD:15:quarterly | 1.0.0.b_4 | 1.0.0.b_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.0.b_4 | 1.0.0.b_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
opencl>=0: devel/opencl
Library 1
libOpenCL.so: devel/ocl-icd
Runtime 1
opencl>=0: devel/opencl
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang
- Service scripts
- none
Message after installing
Files
pkg-plist 28
- cl/include/clRNG.clh
- cl/include/lfsr113.clh
- cl/include/mrg31k3p.clh
- cl/include/mrg32k3a.clh
- cl/include/philox432.clh
- cl/include/private/Random123/array.h
- cl/include/private/Random123/features/clangfeatures.h
- cl/include/private/Random123/features/compilerfeatures.h
- cl/include/private/Random123/features/gccfeatures.h
- cl/include/private/Random123/features/msvcfeatures.h
- cl/include/private/Random123/features/open64features.h
- cl/include/private/Random123/features/openclfeatures.h
- cl/include/private/Random123/features/sse.h
- cl/include/private/Random123/philox.h
- cl/include/private/lfsr113.c.h
- cl/include/private/modular.c.h
- cl/include/private/mrg31k3p.c.h
- cl/include/private/mrg32k3a.c.h
- cl/include/private/philox432.c.h
- include/clRNG.h
- include/clRNG.version.h
- include/lfsr113.h
- include/mrg31k3p.h
- include/mrg32k3a.h
- include/philox432.h
- lib/libclRNG.so
- lib/libclRNG.so.1
- lib/libclRNG.so.1.0.0
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| clMathLibraries-clRNG-v1.0.0-beta_GH0.tar.gz | 127591 | 12e46c89a577ea26ea8af2b11176b1c503c2b0a28a3766178f317f21f27324f4 |