2021-01-06 17:34:51 +00:00
|
|
|
{ buildOctavePackage
|
2021-12-26 22:40:58 +00:00
|
|
|
, stdenv
|
2021-01-06 17:34:51 +00:00
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "ocl";
|
2023-12-17 09:39:01 +00:00
|
|
|
version = "1.2.2";
|
2021-01-06 17:34:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2023-12-17 09:39:01 +00:00
|
|
|
sha256 = "sha256-ErVMfYkWcdS+UqUH7q7gNQXQwAjrcyiUkWxagAKj3w0=";
|
2021-01-06 17:34:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://octave.sourceforge.io/ocl/index.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
|
|
description = "Use OpenCL for parallelization";
|
|
|
|
longDescription = ''
|
|
|
|
Package using OpenCL for parallelization, mostly suitable to
|
|
|
|
Single-Instruction-Multiple-Data (SIMD) computations, selectively
|
|
|
|
using available OpenCL hardware and drivers.
|
|
|
|
'';
|
2021-12-26 22:40:58 +00:00
|
|
|
# error: structure has no member 'dir'
|
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2021-01-06 17:34:51 +00:00
|
|
|
};
|
|
|
|
}
|