Skip to content

Commit

Permalink
[release] add FP case only when elaborate with zve32f config
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and sequencer committed May 21, 2024
1 parent f3efeef commit c641272
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nix/t1/release/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@
, ip
, cases
, elaborateConfigJson
, elaborateConfig
}:

let
extension = lib.head elaborateConfig.parameter.extensions;
isFp = lib.hasInfix "f" extension;
in

lib.makeScope newScope (scope: rec {
inherit elaborateConfigJson configName;

testCases = with cases; [
intrinsic.matmul
] ++ lib.optionals isFp [
intrinsic.softmax
intrinsic.linear_normalization
];
Expand Down

0 comments on commit c641272

Please sign in to comment.