3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/clfft/default.nix

32 lines
1,013 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost166, opencl-clhpp, ocl-icd }:
2019-10-21 06:01:14 +01:00
2021-07-17 19:37:27 +01:00
stdenv.mkDerivation rec {
2019-10-21 06:01:14 +01:00
pname = "clfft";
2021-07-17 19:37:27 +01:00
version = "2.12.2";
2019-10-21 06:01:14 +01:00
src = fetchFromGitHub {
owner = "clMathLibraries";
repo = "clFFT";
rev = "refs/tags/v${version}";
sha256 = "134vb6214hn00qy84m4djg4hqs6hw19gkp8d0wlq8gb9m3mfx7na";
};
sourceRoot = "source/src";
nativeBuildInputs = [ cmake ];
buildInputs = [ fftw fftwFloat boost166 opencl-clhpp ocl-icd ];
meta = with lib; {
2019-10-21 06:01:14 +01:00
description = "Library containing FFT functions written in OpenCL";
longDescription = ''
clFFT is a software library containing FFT functions written in OpenCL.
In addition to GPU devices, the library also supports running on CPU devices to facilitate debugging and heterogeneous programming.
'';
license = licenses.asl20;
homepage = "http://clmathlibraries.github.io/clFFT/";
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ chessai ];
};
}