tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
rocmlir: init at 5.3.0
Madoura
3 years ago
b0bd0b41
ee419e44
+44
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
rocmlir
default.nix
top-level
all-packages.nix
+42
pkgs/development/libraries/rocmlir/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, cmake
5
5
+
, hip
6
6
+
, python3
7
7
+
}:
8
8
+
9
9
+
stdenv.mkDerivation rec {
10
10
+
pname = "rocmlir";
11
11
+
rocmVersion = "5.3.1";
12
12
+
# For some reason they didn't add a tag for 5.3.1, should be compatible, change to rocmVersion later
13
13
+
version = "5.3.0";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "ROCmSoftwarePlatform";
17
17
+
repo = "rocMLIR";
18
18
+
rev = "rocm-${version}"; # change to rocmVersion later
19
19
+
hash = "sha256-s/5gAH5vh2tgATZemPP66juQFDg8BR2sipzX2Q6pOOQ=";
20
20
+
};
21
21
+
22
22
+
nativeBuildInputs = [
23
23
+
cmake
24
24
+
hip
25
25
+
];
26
26
+
27
27
+
buildInputs = [
28
28
+
python3
29
29
+
];
30
30
+
31
31
+
cmakeFlags = [
32
32
+
"-DBUILD_FAT_LIBMLIRMIOPEN=ON"
33
33
+
];
34
34
+
35
35
+
meta = with lib; {
36
36
+
description = "MLIR-based convolution and GEMM kernel generator";
37
37
+
homepage = "https://github.com/ROCmSoftwarePlatform/rocMLIR";
38
38
+
license = with licenses; [ asl20 ];
39
39
+
maintainers = with maintainers; [ Madouura ];
40
40
+
broken = rocmVersion != hip.version;
41
41
+
};
42
42
+
}
+2
pkgs/top-level/all-packages.nix
···
14859
14859
14860
14860
rocminfo = callPackage ../development/tools/rocminfo { };
14861
14861
14862
14862
+
rocmlir = callPackage ../development/libraries/rocmlir { };
14863
14863
+
14862
14864
rtags = callPackage ../development/tools/rtags {
14863
14865
inherit (darwin) apple_sdk;
14864
14866
};