lol

rocmlir: init at 5.3.0

Madoura b0bd0b41 ee419e44

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