Synchronise with Khronos-private Gitlab branch

The maintenance of the conformance tests is moving to Github.

This commit contains all the changes that have been done in
Gitlab since the first public release of the conformance tests.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kevin Petit
2019-02-20 16:36:05 +00:00
committed by Kévin Petit
parent 95196e7fb4
commit d8733efc0f
576 changed files with 212486 additions and 191776 deletions

View File

@@ -1,45 +1,45 @@
ifdef BUILD_WITH_ATF
ATF = -framework ATF
USE_ATF = -DUSE_ATF
endif
SRCFILES = cl_utils.c Test_vLoadHalf.c Test_roundTrip.c \
Test_vStoreHalf.c main.c
CC = cc
CFLAGS = -g -Wall -Wshorten-64-to-32 $(COMPILERFLAGS) ${RC_CFLAGS} \
${USE_ATF}
LIBRARIES = -framework OpenCL ${RC_CFLAGS} ${ATF}
all: release
OBJECTS := ${SRCFILES:.c=.o}
release:
echo "Build Release"
$(CC) $(SRCFILES) -Os $(CFLAGS) -o Test_half $(LIBRARIES)
debug: $(OBJECTS)
echo "Build Debug"
$(CC) $(OBJECTS) -O0 $(CFLAGS) -o Test_half_debug -D_DEBUG=1 $(LIBRARIES)
test: release
arch -i386 ./Test_half -c > cpu.log &
arch -i386 ./Test_half -g > gpu.log &
echo "Testing 32-bit mode in progress. See cpu.log and gpu.log for results."
test64: release
arch -x86_64 ./Test_half -c > cpu64.log &
arch -x86_64 ./Test_half -g > gpu64.log &
echo "Testing 64-bit mode in progress. See cpu64.log and gpu64.log for results."
clean:
rm -f ./Test_half_debug
rm -f ./Test_half
.DEFAULT:
@echo The target \"$@\" does not exist in Makefile.
ifdef BUILD_WITH_ATF
ATF = -framework ATF
USE_ATF = -DUSE_ATF
endif
SRCFILES = cl_utils.c Test_vLoadHalf.c Test_roundTrip.c \
Test_vStoreHalf.c main.c
CC = cc
CFLAGS = -g -Wall -Wshorten-64-to-32 $(COMPILERFLAGS) ${RC_CFLAGS} \
${USE_ATF}
LIBRARIES = -framework OpenCL ${RC_CFLAGS} ${ATF}
all: release
OBJECTS := ${SRCFILES:.c=.o}
release:
echo "Build Release"
$(CC) $(SRCFILES) -Os $(CFLAGS) -o Test_half $(LIBRARIES)
debug: $(OBJECTS)
echo "Build Debug"
$(CC) $(OBJECTS) -O0 $(CFLAGS) -o Test_half_debug -D_DEBUG=1 $(LIBRARIES)
test: release
arch -i386 ./Test_half -c > cpu.log &
arch -i386 ./Test_half -g > gpu.log &
echo "Testing 32-bit mode in progress. See cpu.log and gpu.log for results."
test64: release
arch -x86_64 ./Test_half -c > cpu64.log &
arch -x86_64 ./Test_half -g > gpu64.log &
echo "Testing 64-bit mode in progress. See cpu64.log and gpu64.log for results."
clean:
rm -f ./Test_half_debug
rm -f ./Test_half
.DEFAULT:
@echo The target \"$@\" does not exist in Makefile.