Skip to content

Commit

Permalink
[amx] Test Enhance: move test src top folder
Browse files Browse the repository at this point in the history
move test source code to top folder amx to align with all other features
hierarchy, for runtests.py execution alignment

[Test Components] amx
[Test Types] any
[Supported Devices] all-generic

Signed-off-by: Hongyu Ning <[email protected]>
  • Loading branch information
hongyuni committed Sep 6, 2024
1 parent a122590 commit e9d08db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 39 deletions.
File renamed without changes.
35 changes: 14 additions & 21 deletions BM/amx/Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022 Intel Corporation.

SUBDIRS = $(shell ls -d */)

PROXY :=
# SPDX-License-Identifier: GPL-2.0
CFLAG = -O2 -W -Wall -g -fno-strict-aliasing
LIBS = -lpthread
CC = gcc
BIN_AMX = tmul
CFILES_AMX = tmul.c

all:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
cd $$dir && \
make || { \
cd ..; \
continue; \
}; \
cd ..; \
fi \
done
$(CC) $(CFLAG) $(CFILES_AMX) -o $(BIN_AMX) $(LIBS)

fp16: CFLAG += -g -DFP16
fp16: all

clean:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
make -C $$dir clean || continue; \
fi \
done
-rm $(BIN_AMX)

.PHONY: clean

File renamed without changes.
18 changes: 0 additions & 18 deletions BM/amx/tmul/Makefile

This file was deleted.

0 comments on commit e9d08db

Please sign in to comment.