2016-04-06 13:30:08 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
2015-08-05 13:47:22 +00:00
|
|
|
Name: Random123
|
2016-04-06 13:30:08 +00:00
|
|
|
Version: 1.09
|
2018-07-12 19:46:43 +00:00
|
|
|
Release: 6%{?dist}
|
2015-08-05 13:47:22 +00:00
|
|
|
Summary: Library of random number generators
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: http://www.deshawresearch.com/resources_random123.html
|
|
|
|
Source0: http://www.deshawresearch.com/downloads/download_random123.cgi/%{name}-%{version}.tar.gz
|
2016-04-06 13:30:08 +00:00
|
|
|
# gccfeatures.h has a check that only permits building on x86 x86_64 and ppc
|
|
|
|
# I'd rather not remove the check
|
|
|
|
ExcludeArch: %{arm} mips64r2 mips32r2 s390 s390x
|
2015-08-05 13:47:22 +00:00
|
|
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
%description
|
|
|
|
Random123 is a library of "counter-based" random number generators (CBRNGs), in
|
|
|
|
which the Nth random number can be obtained by applying a stateless mixing
|
|
|
|
function to N instead of the conventional approach of using N iterations of a
|
|
|
|
stateful transformation. CBRNGs were originally developed for use in MD
|
|
|
|
applications on Anton, but they are ideal for a wide range of applications on
|
|
|
|
modern multi-core CPUs, GPUs, clusters, and special-purpose hardware. Three
|
|
|
|
families of non-cryptographic CBRNGs are described in a paper presented at the
|
|
|
|
SC11 conference: ARS (based on the Advanced Encryption System (AES)), Threefry
|
|
|
|
(based on the Threefish encryption function), and Philox (based on integer
|
|
|
|
multiplication). They all satisfy rigorous statistical testing (passing
|
|
|
|
BigCrush in TestU01), vectorize and parallelize well (each generator can
|
|
|
|
produce at least 264 independent streams), have long periods (the period of
|
|
|
|
each stream is at least 2128), require little or no memory or state, and have
|
|
|
|
excellent performance (a few clock cycles per byte of random output). The
|
|
|
|
Random123 library can be used with CPU (C and C++) and GPU (CUDA and OpenCL)
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Provides: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Random123 is a library of "counter-based" random number generators (CBRNGs), in
|
|
|
|
which the Nth random number can be obtained by applying a stateless mixing
|
|
|
|
function to N instead of the conventional approach of using N iterations of a
|
|
|
|
stateful transformation. CBRNGs were originally developed for use in MD
|
|
|
|
applications on Anton, but they are ideal for a wide range of applications on
|
|
|
|
modern multi-core CPUs, GPUs, clusters, and special-purpose hardware. Three
|
|
|
|
families of non-cryptographic CBRNGs are described in a paper presented at the
|
|
|
|
SC11 conference: ARS (based on the Advanced Encryption System (AES)), Threefry
|
|
|
|
(based on the Threefish encryption function), and Philox (based on integer
|
|
|
|
multiplication). They all satisfy rigorous statistical testing (passing
|
|
|
|
BigCrush in TestU01), vectorize and parallelize well (each generator can
|
|
|
|
produce at least 264 independent streams), have long periods (the period of
|
|
|
|
each stream is at least 2128), require little or no memory or state, and have
|
|
|
|
excellent performance (a few clock cycles per byte of random output). The
|
|
|
|
Random123 library can be used with CPU (C and C++) and GPU (CUDA and OpenCL)
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}.
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}
|
|
|
|
|
|
|
|
Random123 is a library of "counter-based" random number generators (CBRNGs), in
|
|
|
|
which the Nth random number can be obtained by applying a stateless mixing
|
|
|
|
function to N instead of the conventional approach of using N iterations of a
|
|
|
|
stateful transformation. CBRNGs were originally developed for use in MD
|
|
|
|
applications on Anton, but they are ideal for a wide range of applications on
|
|
|
|
modern multi-core CPUs, GPUs, clusters, and special-purpose hardware. Three
|
|
|
|
families of non-cryptographic CBRNGs are described in a paper presented at the
|
|
|
|
SC11 conference: ARS (based on the Advanced Encryption System (AES)), Threefry
|
|
|
|
(based on the Threefish encryption function), and Philox (based on integer
|
|
|
|
multiplication). They all satisfy rigorous statistical testing (passing
|
|
|
|
BigCrush in TestU01), vectorize and parallelize well (each generator can
|
|
|
|
produce at least 264 independent streams), have long periods (the period of
|
|
|
|
each stream is at least 2128), require little or no memory or state, and have
|
|
|
|
excellent performance (a few clock cycles per byte of random output). The
|
|
|
|
Random123 library can be used with CPU (C and C++) and GPU (CUDA and OpenCL)
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Header only library
|
|
|
|
pushd docs
|
|
|
|
doxygen Doxyfile
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Wrong file end of line encoding
|
|
|
|
sed -i 's/\r$//' examples/BUILDVC11.BAT
|
|
|
|
sed -i 's/\r$//' examples/BUILDVC.BAT
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p -m 0755 $RPM_BUILD_ROOT/%{_includedir}/%{name}/
|
|
|
|
cp -a include/Random123/* $RPM_BUILD_ROOT/%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc examples
|
|
|
|
|
|
|
|
%changelog
|
2018-07-12 19:46:43 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 01:28:07 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 17:13:49 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:19:45 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 05:32:08 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-04-06 13:30:08 +00:00
|
|
|
* Wed Apr 06 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.09-1
|
|
|
|
- Update to new release
|
|
|
|
- Remove noarch
|
|
|
|
|
2016-02-03 15:47:35 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-05 13:47:22 +00:00
|
|
|
* Tue Aug 04 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.08-3
|
|
|
|
- Update as per reviewer comments in rhbz 1150445
|
|
|
|
|
|
|
|
* Fri Jul 31 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.08-2
|
|
|
|
- Fix doc build errors.
|
|
|
|
|
|
|
|
* Wed Jan 08 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.08-1
|
|
|
|
- Initial rpm build
|
|
|
|
|
|
|
|
|