-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[amx] Test Enhance: move test src top folder
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
Showing
4 changed files
with
14 additions
and
39 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.