diff --git a/test_common/Makefile b/test_common/Makefile deleted file mode 100644 index 6b930323..00000000 --- a/test_common/Makefile +++ /dev/null @@ -1,32 +0,0 @@ - -PRODUCTS = harness/\ - -# utils/ - -TOP=$(shell pwd) - -all: $(PRODUCTS) - -clean: - @for testdir in $(dir $(PRODUCTS)) ; \ - do ( \ - echo "==================================================================================" ; \ - echo "Cleaning $$testdir" ; \ - echo "==================================================================================" ; \ - if test -d $$testdir; \ - then cd $$testdir && make clean; \ - else echo "Warning: Directory '$$testdir' Does Not Exist"; \ - fi; \ - ); \ - done \ - -$(PRODUCTS): - @echo "==================================================================================" ; - @echo "(`date "+%H:%M:%S"`) Make $@" ; - @echo "==================================================================================" ; - @if test -d $@; \ - then cd $(dir $@) && make; \ - else echo "Warning: Directory '$@' Does Not Exist"; \ - fi; \ - -.PHONY: clean $(PRODUCTS) all diff --git a/test_common/harness/Jamfile b/test_common/harness/Jamfile deleted file mode 100644 index 21ebcc24..00000000 --- a/test_common/harness/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements . - gcc:"-xc++" - msvc:"/TP" - off - : usage-requirements . - ; - -local harness.objs ; -for source in [ glob *.c *.cpp ] -{ - harness.objs += [ obj $(source:B).obj : $(source) ] ; -} - -alias harness : $(harness.objs) - : /Runtime//OpenCL.lib : - : /Runtime//OpenCL.lib - ; diff --git a/test_common/harness/Makefile b/test_common/harness/Makefile deleted file mode 100644 index 2ac60643..00000000 --- a/test_common/harness/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = conversions.c \ - errorHelpers.c \ - genericThread.cpp \ - imageHelpers.cpp \ - kernelHelpers.c \ - mt19937.c \ - rounding_mode.c \ - testHarness.c \ - testHarness.cpp \ - ThreadPool.c \ - threadTesting.c \ - typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -all: $(OBJECTS) - -clean: - rm -f $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/Jamfile b/test_conformance/Jamfile deleted file mode 100644 index 5065fe45..00000000 --- a/test_conformance/Jamfile +++ /dev/null @@ -1,24 +0,0 @@ -project - : requirements - /harness//harness - off - ; - -use-project /harness : ../test_common/harness ; - -proj_lst = allocations api atomics basic buffers commonfns compiler - computeinfo contractions conversions events geometrics gl - half images integer_ops math_brute_force multiple_device_context - profiling relationals select thread_dimensions ; - -for proj in $(proj_lst) -{ - build-project $(proj) ; -} - -install data - : [ glob *.csv ] [ glob *.py ] - : debug:$(DIST)/debug/tests/test_conformance - release:$(DIST)/release/tests/test_conformance - ; - diff --git a/test_conformance/Makefile b/test_conformance/Makefile deleted file mode 100644 index cfcb271b..00000000 --- a/test_conformance/Makefile +++ /dev/null @@ -1,61 +0,0 @@ - -PRODUCTS = \ - allocations/ \ - api/ \ - atomics/ \ - basic/ \ - buffers/ \ - commonfns/ \ - compatibility/test_conformance/ \ - compiler/ \ - computeinfo/ \ - contractions/ \ - conversions/ \ - device_partition/ \ - events/ \ - geometrics/ \ - gl/ \ - half/ \ - headers/ \ - images/ \ - integer_ops/ \ - math_brute_force/ \ - mem_host_flags/ \ - multiple_device_context/ \ - printf/ \ - profiling/ \ - relationals/ \ - select/ \ - thread_dimensions/ \ - vec_align/ \ - vec_step/ \ - workgroups/ - - -TOP=$(shell pwd) - -all: $(PRODUCTS) - -clean: - @for testdir in $(dir $(PRODUCTS)) ; \ - do ( \ - echo "==================================================================================" ; \ - echo "Cleaning $$testdir" ; \ - echo "==================================================================================" ; \ - if test -d $$testdir; \ - then cd $$testdir && make clean; \ - else echo "Warning: Directory '$$testdir' Does Not Exist"; \ - fi; \ - ); \ - done \ - -$(PRODUCTS): - @echo "==================================================================================" ; - @echo "(`date "+%H:%M:%S"`) Make $@" ; - @echo "==================================================================================" ; - @if test -d $@; \ - then cd $(dir $@) && make -i; \ - else echo "Warning: Directory '$@' Does Not Exist"; \ - fi; \ - -.PHONY: clean $(PRODUCTS) all diff --git a/test_conformance/SVM/Makefile b/test_conformance/SVM/Makefile deleted file mode 100644 index 0b721f59..00000000 --- a/test_conformance/SVM/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_allocate_shared_buffer.cpp \ - test_byte_granularity.cpp \ - test_cross_buffer_pointers.cpp \ - test_enqueue_api.cpp \ - test_fine_grain_memory_consistency.cpp \ - test_fine_grain_sync_buffers.cpp \ - test_pointer_passing.cpp \ - test_set_kernel_exec_info_svm_ptrs.cpp \ - test_shared_address_space_coarse_grain.cpp \ - test_shared_address_space_fine_grain_buffers.cpp \ - test_shared_address_space_fine_grain.cpp \ - test_shared_sub_buffers.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_SVM -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/allocations/Jamfile b/test_conformance/allocations/Jamfile deleted file mode 100644 index aeb88d71..00000000 --- a/test_conformance/allocations/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_allocations - : allocation_execute.cpp - allocation_fill.cpp - allocation_functions.cpp - allocation_utils.cpp - main.cpp - ; - -install dist - : test_allocations - : debug:$(DIST)/debug/tests/test_conformance/allocations - release:$(DIST)/release/tests/test_conformance/allocations - ; diff --git a/test_conformance/allocations/Makefile b/test_conformance/allocations/Makefile deleted file mode 100644 index 096e91cd..00000000 --- a/test_conformance/allocations/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - allocation_functions.cpp \ - allocation_fill.cpp \ - allocation_utils.cpp \ - allocation_execute.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_allocations -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/api/Jamfile b/test_conformance/api/Jamfile deleted file mode 100644 index 704b5ce1..00000000 --- a/test_conformance/api/Jamfile +++ /dev/null @@ -1,27 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - - -exe test_api - : main.c - test_api_min_max.c - test_binary.cpp - test_create_kernels.c - test_create_context_from_type.cpp - test_kernel_arg_changes.cpp - test_kernel_arg_multi_setup.cpp - test_kernels.c - test_native_kernel.cpp - test_queries.cpp - test_retain_program.c - test_platform.cpp - ; - -install dist - : test_api #test.lst - : debug:$(DIST)/debug/tests/test_conformance/api - release:$(DIST)/release/tests/test_conformance/api - ; diff --git a/test_conformance/api/Makefile b/test_conformance/api/Makefile deleted file mode 100644 index 44cfaee3..00000000 --- a/test_conformance/api/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_retain_program.c \ - test_queries.cpp \ - test_create_kernels.c \ - test_kernels.c \ - test_kernel_arg_info.c \ - test_api_min_max.c \ - test_kernel_arg_changes.cpp \ - test_kernel_arg_multi_setup.cpp \ - test_binary.cpp \ - test_native_kernel.cpp \ - test_create_context_from_type.cpp \ - test_platform.cpp \ - test_retain.cpp \ - test_device_min_data_type_align_size_alignment.cpp \ - test_mem_objects.cpp \ - test_bool.c \ - test_null_buffer_arg.c \ - test_mem_object_info.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/imageHelpers.cpp \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_api -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/atomics/Jamfile b/test_conformance/atomics/Jamfile deleted file mode 100644 index 8c039e1a..00000000 --- a/test_conformance/atomics/Jamfile +++ /dev/null @@ -1,17 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_atomics - : main.c - test_atomics.c - test_indexed_cases.c - ; - -install dist - : test_atomics - : debug:$(DIST)/debug/tests/test_conformance/atomics - release:$(DIST)/release/tests/test_conformance/atomics - ; diff --git a/test_conformance/atomics/Makefile b/test_conformance/atomics/Makefile deleted file mode 100644 index aa1c0147..00000000 --- a/test_conformance/atomics/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_atomics.cpp \ - test_indexed_cases.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/kernelHelpers.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_atomics -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/basic/Jamfile b/test_conformance/basic/Jamfile deleted file mode 100644 index 075229d2..00000000 --- a/test_conformance/basic/Jamfile +++ /dev/null @@ -1,74 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_basic - : main.c - test_fpmath_float.c test_fpmath_float2.c test_fpmath_float4.c - test_intmath_int.c test_intmath_int2.c test_intmath_int4.c - test_intmath_long.c test_intmath_long2.c test_intmath_long4.c - test_hiloeo.c test_local.c test_pointercast.c - test_if.c test_sizeof.c test_loop.c - test_readimage.c test_readimage_int16.c test_readimage_fp32.c - test_readimage3d.c test_readimage3d_int16.c test_readimage3d_fp32.c - test_writeimage.c test_writeimage_int16.c test_writeimage_fp32.c - test_multireadimageonefmt.c test_multireadimagemultifmt.c - test_imagedim.c - test_vloadstore.c - test_int2float.c test_float2int.c - test_createkernelsinprogram.c - test_hostptr.c - test_explicit_s2v.cpp - test_constant.c - test_constant_source.cpp - test_image_multipass.c - test_imagereadwrite.c test_imagereadwrite3d.c - test_bufferreadwriterect.c - test_image_param.c - test_imagenpot.c - test_image_r8.c - test_barrier.c - test_arrayreadwrite.c - test_arraycopy.c - test_imagearraycopy.c - test_imagearraycopy3d.c - test_imagecopy.c - test_imagerandomcopy.c - test_arrayimagecopy.c - test_arrayimagecopy3d.c - test_imagecopy3d.c - test_enqueue_map.cpp - test_work_item_functions.cpp - test_astype.cpp - test_async_copy.cpp - test_async_strided_copy.cpp - test_numeric_constants.cpp - test_kernel_call_kernel_function.cpp - test_basic_parameter_types.c - test_vector_creation.cpp - test_vec_type_hint.c - test_preprocessors.cpp - test_kernel_memory_alignment.cpp - test_global_work_offsets.cpp - test_local_kernel_scope.cpp - test_get_linear_ids.cpp - ../../test_common/harness/errorHelpers.c - ../../test_common/harness/threadTesting.c - ../../test_common/harness/testHarness.c - ../../test_common/harness/rounding_mode.c - ../../test_common/harness/kernelHelpers.c - ../../test_common/harness/typeWrappers.cpp - ../../test_common/harness/imageHelpers.cpp - ../../test_common/harness/mt19937.c - ../../test_common/harness/conversions.c - : windows:../../test_common/harness/msvc9.c - ; - -install dist - : test_basic - : debug:$(DIST)/debug/tests/test_conformance/basic - release:$(DIST)/release/tests/test_conformance/basic - ; - diff --git a/test_conformance/basic/Makefile b/test_conformance/basic/Makefile deleted file mode 100644 index faac0a80..00000000 --- a/test_conformance/basic/Makefile +++ /dev/null @@ -1,103 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_fpmath_float.c test_fpmath_float2.c test_fpmath_float4.c \ - test_intmath_int.c test_intmath_int2.c test_intmath_int4.c \ - test_intmath_long.c test_intmath_long2.c test_intmath_long4.c \ - test_hiloeo.c test_local.c test_local_kernel_scope.cpp test_pointercast.c \ - test_if.c test_sizeof.c test_loop.c \ - test_readimage.c test_readimage_int16.c test_readimage_fp32.c \ - test_readimage3d.c test_readimage3d_int16.c test_readimage3d_fp32.c \ - test_writeimage.c test_writeimage_int16.c test_writeimage_fp32.c \ - test_multireadimageonefmt.c test_multireadimagemultifmt.c \ - test_imagedim.c \ - test_vloadstore.c \ - test_int2float.c test_float2int.c \ - test_createkernelsinprogram.c \ - test_hostptr.c \ - test_explicit_s2v.cpp \ - test_constant.c \ - test_constant_source.cpp \ - test_image_multipass.c \ - test_imagereadwrite.c test_imagereadwrite3d.c \ - test_bufferreadwriterect.c \ - test_image_param.c \ - test_imagenpot.c \ - test_image_r8.c \ - test_barrier.c \ - test_wg_barrier.c \ - test_arrayreadwrite.c \ - test_arraycopy.c \ - test_imagearraycopy.c \ - test_imagearraycopy3d.c \ - test_imagecopy.c \ - test_imagerandomcopy.c \ - test_arrayimagecopy.c \ - test_arrayimagecopy3d.c\ - test_imagecopy3d.c \ - test_enqueue_map.cpp \ - test_work_item_functions.cpp \ - test_astype.cpp \ - test_async_copy.cpp \ - test_async_strided_copy.cpp \ - test_numeric_constants.cpp \ - test_kernel_call_kernel_function.cpp \ - test_basic_parameter_types.c \ - test_vector_creation.cpp \ - test_vec_type_hint.c \ - test_preprocessors.cpp \ - test_kernel_memory_alignment.cpp \ - test_global_work_offsets.cpp \ - test_simple_image_pitch.c \ - test_queue_priority.c \ - test_global_linear_id.c \ - test_local_linear_id.c \ - test_enqueued_local_size.c \ - test_get_linear_ids.c \ - test_progvar.cpp \ - test_rw_image_access_qualifier.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/rounding_mode.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/imageHelpers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_basic -INCLUDE = -COMPILERFLAGS = -c -Wall -g -O0 -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. - - - diff --git a/test_conformance/buffers/Jamfile b/test_conformance/buffers/Jamfile deleted file mode 100644 index be1b449e..00000000 --- a/test_conformance/buffers/Jamfile +++ /dev/null @@ -1,24 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_buffers - : array_info.c - main.c - test_buffer_copy.c - test_buffer_map.c - test_buffer_mem.c - test_buffer_read.c - test_buffer_write.c - test_buffer_fill.c - : ../..//glew - ; - -install dist - : test_buffers - : debug:$(DIST)/debug/tests/test_conformance/buffers - release:$(DIST)/release/tests/test_conformance/buffers - ; - diff --git a/test_conformance/buffers/Makefile b/test_conformance/buffers/Makefile deleted file mode 100644 index 50954563..00000000 --- a/test_conformance/buffers/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c test_buffer_copy.c test_buffer_read.c test_buffer_write.c \ - test_buffer_mem.c array_info.c test_buffer_map.c \ - test_sub_buffers.cpp test_buffer_fill.c \ - test_buffer_migrate.c test_image_migrate.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/typeWrappers.cpp - - - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_buffers -INCLUDE = -COMPILERFLAGS = -c -Wall -g -O0 -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) -LIBRARIES = -framework OpenCL -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. - diff --git a/test_conformance/c11_atomics/Makefile b/test_conformance/c11_atomics/Makefile deleted file mode 100644 index 7bd23b5d..00000000 --- a/test_conformance/c11_atomics/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_atomics.cpp \ - host_atomics.cpp \ - common.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/ThreadPool.c - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_atomics_c11 -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/commonfns/Jamfile b/test_conformance/commonfns/Jamfile deleted file mode 100644 index 48bdaed3..00000000 --- a/test_conformance/commonfns/Jamfile +++ /dev/null @@ -1,33 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_commonfns - : main.c - test_binary_fn.c - test_clamp.c - test_degrees.c - test_fmax.c - test_fmaxf.c - test_fmin.c - test_fminf.c - test_max.c - test_maxf.c - test_min.c - test_minf.c - test_mix.c - test_radians.c - test_sign.c - test_smoothstep.c - test_smoothstepf.c - test_step.c - test_stepf.c - ; - -install dist - : test_commonfns - : debug:$(DIST)/debug/tests/test_conformance/commonfns - release:$(DIST)/release/tests/test_conformance/commonfns - ; diff --git a/test_conformance/commonfns/Makefile b/test_conformance/commonfns/Makefile deleted file mode 100644 index 474066f7..00000000 --- a/test_conformance/commonfns/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c test_clamp.c test_degrees.c \ - test_max.c test_maxf.c test_min.c test_minf.c \ - test_mix.c test_radians.c test_step.c test_stepf.c\ - test_smoothstep.c test_smoothstepf.c test_sign.c \ - test_fmax.c test_fmin.c test_fmaxf.c test_fminf.c test_binary_fn.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/kernelHelpers.c - -SOURCES = $(abspath $(SRCS)) - -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_commonfns -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${RC_CFLAGS} ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/compatibility/test_common/Makefile b/test_conformance/compatibility/test_common/Makefile deleted file mode 100644 index b57d19c8..00000000 --- a/test_conformance/compatibility/test_common/Makefile +++ /dev/null @@ -1,26 +0,0 @@ - -PRODUCTS = harness/\ - -# utils/ - -TOP=$(shell pwd) - -all: $(PRODUCTS) - -clean: - @for testdir in $(dir $(PRODUCTS)) ; \ - do ( \ - echo "==================================================================================" ; \ - echo "Cleaning $$testdir" ; \ - echo "==================================================================================" ; \ - cd $$testdir && make clean \ - ); \ - done \ - -$(PRODUCTS): - @echo "==================================================================================" ; - @echo "(`date "+%H:%M:%S"`) Make $@" ; - @echo "==================================================================================" ; - cd $(dir $@) && make - -.PHONY: clean $(PRODUCTS) all diff --git a/test_conformance/compatibility/test_common/harness/Jamfile b/test_conformance/compatibility/test_common/harness/Jamfile deleted file mode 100644 index 21ebcc24..00000000 --- a/test_conformance/compatibility/test_common/harness/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements . - gcc:"-xc++" - msvc:"/TP" - off - : usage-requirements . - ; - -local harness.objs ; -for source in [ glob *.c *.cpp ] -{ - harness.objs += [ obj $(source:B).obj : $(source) ] ; -} - -alias harness : $(harness.objs) - : /Runtime//OpenCL.lib : - : /Runtime//OpenCL.lib - ; diff --git a/test_conformance/compatibility/test_common/harness/Makefile b/test_conformance/compatibility/test_common/harness/Makefile deleted file mode 100644 index 2ac60643..00000000 --- a/test_conformance/compatibility/test_common/harness/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = conversions.c \ - errorHelpers.c \ - genericThread.cpp \ - imageHelpers.cpp \ - kernelHelpers.c \ - mt19937.c \ - rounding_mode.c \ - testHarness.c \ - testHarness.cpp \ - ThreadPool.c \ - threadTesting.c \ - typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -all: $(OBJECTS) - -clean: - rm -f $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/compatibility/test_conformance/api/Jamfile b/test_conformance/compatibility/test_conformance/api/Jamfile deleted file mode 100644 index 704b5ce1..00000000 --- a/test_conformance/compatibility/test_conformance/api/Jamfile +++ /dev/null @@ -1,27 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - - -exe test_api - : main.c - test_api_min_max.c - test_binary.cpp - test_create_kernels.c - test_create_context_from_type.cpp - test_kernel_arg_changes.cpp - test_kernel_arg_multi_setup.cpp - test_kernels.c - test_native_kernel.cpp - test_queries.cpp - test_retain_program.c - test_platform.cpp - ; - -install dist - : test_api #test.lst - : debug:$(DIST)/debug/tests/test_conformance/api - release:$(DIST)/release/tests/test_conformance/api - ; diff --git a/test_conformance/compatibility/test_conformance/api/Makefile b/test_conformance/compatibility/test_conformance/api/Makefile deleted file mode 100644 index 44cfaee3..00000000 --- a/test_conformance/compatibility/test_conformance/api/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_retain_program.c \ - test_queries.cpp \ - test_create_kernels.c \ - test_kernels.c \ - test_kernel_arg_info.c \ - test_api_min_max.c \ - test_kernel_arg_changes.cpp \ - test_kernel_arg_multi_setup.cpp \ - test_binary.cpp \ - test_native_kernel.cpp \ - test_create_context_from_type.cpp \ - test_platform.cpp \ - test_retain.cpp \ - test_device_min_data_type_align_size_alignment.cpp \ - test_mem_objects.cpp \ - test_bool.c \ - test_null_buffer_arg.c \ - test_mem_object_info.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/imageHelpers.cpp \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_api -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/compatibility/test_conformance/basic/Jamfile b/test_conformance/compatibility/test_conformance/basic/Jamfile deleted file mode 100644 index 02c3fca9..00000000 --- a/test_conformance/compatibility/test_conformance/basic/Jamfile +++ /dev/null @@ -1,75 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_basic - : main.c - test_arraycopy.c - test_arrayimagecopy3d.c - test_arrayimagecopy.c - test_arrayreadwrite.c - test_astype.cpp - test_async_copy.cpp - test_barrier.c - test_basic_parameter_types.c - test_constant.c - test_createkernelsinprogram.c - test_enqueue_map.cpp - test_explicit_s2v.cpp - test_float2int.c - test_fpmath_float2.c - test_fpmath_float4.c - test_fpmath_float.c - test_hiloeo.c - test_hostptr.c - test_if.c - test_imagearraycopy3d.c - test_imagearraycopy.c - test_imagecopy3d.c - test_imagecopy.c - test_imagedim.c - test_image_multipass.c - test_imagenpot.c - test_image_param.c - test_image_r8.c - test_imagerandomcopy.c - test_imagereadwrite3d.c - test_imagereadwrite.c - test_int2float.c - test_intmath_int2.c - test_intmath_int4.c - test_intmath_int.c - test_intmath_long2.c - test_intmath_long4.c - test_intmath_long.c - test_local.c - test_loop.c - test_multireadimagemultifmt.c - test_multireadimageonefmt.c - test_pointercast.c - test_readimage3d.c - test_readimage3d_fp32.c - test_readimage3d_int16.c - test_readimage.c - test_readimage_fp32.c - test_readimage_int16.c - test_sizeof.c - test_vec_type_hint.c - test_vector_creation.cpp - test_vloadstore.c - test_work_item_functions.cpp - test_writeimage.c - test_writeimage_fp32.c - test_writeimage_int16.c - test_numeric_constants.cpp - test_kernel_call_kernel_function.cpp - ; - -install dist - : test_basic - : debug:$(DIST)/debug/tests/test_conformance/basic - release:$(DIST)/release/tests/test_conformance/basic - ; - \ No newline at end of file diff --git a/test_conformance/compatibility/test_conformance/basic/Makefile b/test_conformance/compatibility/test_conformance/basic/Makefile deleted file mode 100644 index eaa45ce2..00000000 --- a/test_conformance/compatibility/test_conformance/basic/Makefile +++ /dev/null @@ -1,94 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_fpmath_float.c test_fpmath_float2.c test_fpmath_float4.c \ - test_intmath_int.c test_intmath_int2.c test_intmath_int4.c \ - test_intmath_long.c test_intmath_long2.c test_intmath_long4.c \ - test_hiloeo.c test_local.c test_local_kernel_scope.cpp test_pointercast.c \ - test_if.c test_sizeof.c test_loop.c \ - test_readimage.c test_readimage_int16.c test_readimage_fp32.c \ - test_readimage3d.c test_readimage3d_int16.c test_readimage3d_fp32.c \ - test_writeimage.c test_writeimage_int16.c test_writeimage_fp32.c \ - test_multireadimageonefmt.c test_multireadimagemultifmt.c \ - test_imagedim.c \ - test_vloadstore.c \ - test_int2float.c test_float2int.c \ - test_createkernelsinprogram.c \ - test_hostptr.c \ - test_explicit_s2v.cpp \ - test_constant.c \ - test_constant_source.cpp \ - test_image_multipass.c \ - test_imagereadwrite.c test_imagereadwrite3d.c \ - test_bufferreadwriterect.c \ - test_image_param.c \ - test_imagenpot.c \ - test_image_r8.c \ - test_barrier.c \ - test_arrayreadwrite.c \ - test_arraycopy.c \ - test_imagearraycopy.c \ - test_imagearraycopy3d.c \ - test_imagecopy.c \ - test_imagerandomcopy.c \ - test_arrayimagecopy.c \ - test_arrayimagecopy3d.c\ - test_imagecopy3d.c \ - test_enqueue_map.cpp \ - test_work_item_functions.cpp \ - test_astype.cpp \ - test_async_copy.cpp \ - test_async_strided_copy.cpp \ - test_numeric_constants.cpp \ - test_kernel_call_kernel_function.cpp \ - test_basic_parameter_types.c \ - test_vector_creation.cpp \ - test_vec_type_hint.c \ - test_preprocessors.cpp \ - test_kernel_memory_alignment.cpp \ - test_global_work_offsets.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/rounding_mode.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/imageHelpers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_basic -INCLUDE = -COMPILERFLAGS = -c -Wall -g -O0 -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. - - - diff --git a/test_conformance/compiler/Jamfile b/test_conformance/compiler/Jamfile deleted file mode 100644 index d1324298..00000000 --- a/test_conformance/compiler/Jamfile +++ /dev/null @@ -1,27 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_compiler - : main.c - test_async_build.c - test_build_helpers.c - test_build_options.cpp - test_compile.c - test_preprocessor.c - test_pragma_unroll.c - ; - -install dist - : test_compiler - : debug:$(DIST)/debug/tests/test_conformance/compiler - release:$(DIST)/release/tests/test_conformance/compiler - ; - -install data - : includeTestDirectory/testIncludeFile.h - : debug:$(DIST)/debug/tests/test_conformance/compiler/includeTestDirectory - release:$(DIST)/release/tests/test_conformance/compiler/includeTestDirectory - ; diff --git a/test_conformance/compiler/Makefile b/test_conformance/compiler/Makefile deleted file mode 100644 index aab43bf8..00000000 --- a/test_conformance/compiler/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_build_helpers.c \ - test_compile.c \ - test_compiler_defines_for_extensions.cpp \ - test_async_build.c \ - test_build_options.cpp \ - test_preprocessor.c \ - test_image_macro.c \ - test_pragma_unroll.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/os_helpers.cpp \ - ../../test_common/harness/conversions.c - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_compiler -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/computeinfo/Jamfile b/test_conformance/computeinfo/Jamfile deleted file mode 100644 index f66bf76a..00000000 --- a/test_conformance/computeinfo/Jamfile +++ /dev/null @@ -1,13 +0,0 @@ -project - : requirements -# gcc:-xc++ - msvc:"/TP" - ; - -exe computeinfo : main.c ; - -install dist - : computeinfo - : debug:$(DIST)/debug/tests/test_conformance/computeinfo - release:$(DIST)/release/tests/test_conformance/computeinfo - ; diff --git a/test_conformance/computeinfo/Makefile b/test_conformance/computeinfo/Makefile deleted file mode 100644 index 462c4244..00000000 --- a/test_conformance/computeinfo/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = main.c ../../test_common/harness/errorHelpers.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/testHarness.c -HEADERS = -TARGET = computeinfo -INCLUDE = -I./../../OpenCL/cl_headers/public -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${RC_CFLAGS} ${ATF} - -OBJECTS = main.o errorHelpers.o kernelHelpers.o testHarness.o - -TARGETOBJECT = -all: $(TARGET) - -$(OBJECTS): $(FRAMEWORK) $(HEADERS) - $(CC) $(CFLAGS) $(INCLUDE) $(FRAMEWORK) - -$(TARGET): $(OBJECTS) - $(CC) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/contractions/Jamfile b/test_conformance/contractions/Jamfile deleted file mode 100644 index a5bd7f19..00000000 --- a/test_conformance/contractions/Jamfile +++ /dev/null @@ -1,13 +0,0 @@ -project - : requirements -# gcc:-xc++ - msvc:"/TP" - ; - -exe contractions : contractions.c ; - -install dist - : contractions - : debug:$(DIST)/debug/tests/test_conformance/contractions - release:$(DIST)/release/tests/test_conformance/contractions - ; diff --git a/test_conformance/contractions/Makefile b/test_conformance/contractions/Makefile deleted file mode 100644 index d6f52461..00000000 --- a/test_conformance/contractions/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -CC = c++ -CFLAGS = -g -arch i386 -arch x86_64 -Wall $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} -I ../../test_common/harness -LIBRARIES = -framework OpenCL -framework ApplicationServices -framework IOKit -I/System/Library/Frameworks/OpenCL.framework/Headers ${RC_CFLAGS} ${ATF} - -release: - echo "Build Release" - $(CC) *.c ../../test_common/harness/testHarness.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/errorHelpers.c ../../test_common/harness/mt19937.c -Os $(CFLAGS) -o contractions $(LIBRARIES) - -debug: - echo "Build Debug" - $(CC) *.c ../../test_common/harness/testHarness.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/errorHelpers.c ../../test_common/harness/mt19937.c -O0 $(CFLAGS) -D_DEBUG=1 -o contractions_debug $(LIBRARIES) - -test: release - arch -i386 ./contractions -c > cpu.log; - arch -i386 ./contractions -g > gpu.log; - -test64: release - arch -x86_64 ./contractions_debug -c > cpu64.log; - arch -x86_64 ./contractions_debug -g > gpu64.log; - echo "Testing 64-bit mode in progress. This may take up to 1 day to complete. See cpu64.log and gpu64.log for results." - - -clean: - rm -f ./contractions - rm -f ./contractions_debug - -all: release diff --git a/test_conformance/conversions/Jamfile b/test_conformance/conversions/Jamfile deleted file mode 100644 index b23c6823..00000000 --- a/test_conformance/conversions/Jamfile +++ /dev/null @@ -1,17 +0,0 @@ -project - : requirements -# gcc:-xc++ - msvc:"/TP" - ; - -exe test_conversions - : basic_test_conversions.c - Sleep.c - test_conversions.c - ; - -install dist - : test_conversions - : debug:$(DIST)/debug/tests/test_conformance/conversions - release:$(DIST)/release/tests/test_conformance/conversions - ; diff --git a/test_conformance/conversions/Makefile b/test_conformance/conversions/Makefile deleted file mode 100644 index 370224e3..00000000 --- a/test_conformance/conversions/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -# We do not use dependencies in this Makefile - -SRCFILES = Sleep.c test_conversions.c ../../test_common/harness/mt19937.c ../../test_common/harness/ThreadPool.c ../../test_common/harness/rounding_mode.c - -CC = c++ - -CFLAGS = -g -Wall -Wshorten-64-to-32 $(COMPILERFLAGS) \ - ${RC_CFLAGS} ${USE_ATF} - -INCLUDES = -I../../test_common/harness \ - ${RC_CFLAGS} ${ATF} - -LIBRARIES = -framework OpenCL -framework CoreFoundation -framework IOKit - -release: - echo "Build Release" - $(CC) -c basic_test_conversions.c -Os $(CFLAGS) -o basic_test_conversions.o - $(CC) $(SRCFILES) -Os $(CFLAGS) basic_test_conversions.o -o test_conversions $(INCLUDES) $(LIBRARIES) - -debug: - echo "Build Debug" - $(CC) -c basic_test_conversions.c -O0 $(CFLAGS) -o basic_test_conversions.o - $(CC) test_conversions.c -c -O0 -g $(CFLAGS) $(INCLUDES) -o test_conversions.o - $(CC) Sleep.c -c -O0 -g $(CFLAGS) $(INCLUDES) -o Sleep.o - $(CC) ../../test_common/harness/mt19937.c -c -O0 -g $(INCLUDES) $(CFLAGS) -o mt19937.o - $(CC) ../../test_common/harness/ThreadPool.c -c -O0 -g $(INCLUDES) $(CFLAGS) -o ThreadPool.o - $(CC) ../../test_common/harness/rounding_mode.c -c -O0 -g $(INCLUDES) $(CFLAGS) -o rounding_mode.o - $(CC) *.o -g -O0 -o test_conversions_debug $(LIBRARIES) -arch i386 -arch x86_64 - -clean: - rm -f test_conversions - rm -f *.o - rm -f test_conversions_debug - -test: release - arch -i386 ./test_conversions -c > cpu.out & - arch -i386 ./test_conversions -g > gpu.out & - echo "Testing 32-bit mode conversions for CPU and GPU, which takes a day or three. Results may be found in cpu.out and gpu.out\n" - -test64: release - arch -x86_64 ./test_conversions_64 -c > cpu64.out & - arch -x86_64 ./test_conversions_64 -g > gpu64.out & - echo "Testing 64-bit mode conversions for CPU and GPU, which takes a day or three. Results may be found in cpu64.out and gpu64.out\n" - -all: release diff --git a/test_conformance/device_execution/Makefile b/test_conformance/device_execution/Makefile deleted file mode 100644 index 59271df0..00000000 --- a/test_conformance/device_execution/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - device_info.cpp \ - device_queue.cpp \ - enqueue_block.cpp \ - enqueue_flags.cpp \ - enqueue_multi_queue.cpp \ - enqueue_ndrange.cpp \ - enqueue_wg_size.cpp \ - execute_block.cpp \ - host_multi_queue.cpp \ - host_queue_order.cpp \ - nested_blocks.cpp \ - utils.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_device_execution -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/device_partition/Jamfile b/test_conformance/device_partition/Jamfile deleted file mode 100644 index 3bf4b29f..00000000 --- a/test_conformance/device_partition/Jamfile +++ /dev/null @@ -1,32 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_device_partition - : main.c - test_device_partition.cpp - ../../test_common/harness/errorHelpers.c - ../../test_common/harness/threadTesting.c - ../../test_common/harness/testHarness.c - ../../test_common/harness/kernelHelpers.c - ../../test_common/harness/genericThread.cpp - ../../test_common/harness/mt19937.c - ../../test_common/harness/conversions.c - ../../test_common/harness/typeWrappers.cpp - : windows:../../test_common/harness/msvc9.c - ; - -install dist - : test_device_partition - : debug:$(DIST)/debug/tests/conformance/1.2/x86/device_partition - release:$(DIST)/release/tests/conformance/1.2/x86/device_partition - ; - -install dist - : test_device_partition - : debug:$(DIST)/debug/tests/conformance/1.2/x86_64/device_partition - release:$(DIST)/release/tests/conformance/1.2/x86_64/device_partition - 64 - ; diff --git a/test_conformance/device_partition/Makefile b/test_conformance/device_partition/Makefile deleted file mode 100644 index 493b0609..00000000 --- a/test_conformance/device_partition/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_device_partition.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/genericThread.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/msvc9.c -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(abspath $(SRCS)) -HEADERS = procs.h testBase.h -TARGET = test_device_partition -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Os -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${RC_CFLAGS} ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/events/Jamfile b/test_conformance/events/Jamfile deleted file mode 100644 index 45979f76..00000000 --- a/test_conformance/events/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_events - : main.c - test_event_dependencies.cpp - test_events.cpp - test_waitlists.cpp - ; - -install dist - : test_events - : debug:$(DIST)/debug/tests/test_conformance/events - release:$(DIST)/release/tests/test_conformance/events - ; diff --git a/test_conformance/events/Makefile b/test_conformance/events/Makefile deleted file mode 100644 index c2025261..00000000 --- a/test_conformance/events/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_events.cpp \ - test_event_dependencies.cpp \ - test_userevents.cpp \ - test_waitlists.cpp \ - test_callbacks.cpp \ - action_classes.cpp \ - test_userevents_multithreaded.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/genericThread.cpp \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/ThreadPool.c \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_events -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/generic_address_space/Makefile b/test_conformance/generic_address_space/Makefile deleted file mode 100644 index b59fe4c6..00000000 --- a/test_conformance/generic_address_space/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - basic_tests.cpp \ - advanced_tests.cpp \ - stress_tests.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_uniform_address_space -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/geometrics/Jamfile b/test_conformance/geometrics/Jamfile deleted file mode 100644 index 3a9f200b..00000000 --- a/test_conformance/geometrics/Jamfile +++ /dev/null @@ -1,17 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_geometrics - : main.c - test_geometrics.cpp - test_geometrics_double.cpp - ; - -install dist - : test_geometrics - : debug:$(DIST)/debug/tests/test_conformance/geometrics - release:$(DIST)/release/tests/test_conformance/geometrics - ; diff --git a/test_conformance/geometrics/Makefile b/test_conformance/geometrics/Makefile deleted file mode 100644 index e35c93e0..00000000 --- a/test_conformance/geometrics/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_geometrics.c \ - test_geometrics_double.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/kernelHelpers.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_geometrics -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/gl/Jamfile b/test_conformance/gl/Jamfile deleted file mode 100644 index 5064d5e5..00000000 --- a/test_conformance/gl/Jamfile +++ /dev/null @@ -1,28 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_gl - : helpers.cpp - main.cpp - test_buffers.cpp - test_images_2D.cpp - test_images_2D_info.cpp - test_images_3D.cpp - test_images_3D_info.cpp - test_renderbuffer.cpp - test_renderbuffer_info.cpp - : darwin:setup_osx.cpp - linux:setup_x11.cpp - windows:setup_win32.cpp - ../..//glut - ../..//glew - ; - -install dist - : test_gl - : debug:$(DIST)/debug/tests/test_conformance/gl - release:$(DIST)/release/tests/test_conformance/gl - ; diff --git a/test_conformance/gl/Makefile b/test_conformance/gl/Makefile deleted file mode 100644 index 521e0688..00000000 --- a/test_conformance/gl/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - helpers.cpp \ - test_buffers.cpp \ - test_fence_sync.cpp \ - test_images_1D.cpp \ - test_images_1Darray.cpp \ - test_images_2Darray.cpp \ - test_images_2D.cpp \ - test_images_3D.cpp \ - test_images_getinfo_common.cpp \ - test_images_read_common.cpp \ - test_images_write_common.cpp \ - test_renderbuffer.cpp \ - test_renderbuffer_info.cpp \ - test_images_depth.cpp \ - test_images_multisample.cpp \ - test_image_methods.cpp \ - ../../test_common/gl/helpers.cpp \ - ../../test_common/gl/setup_osx.cpp \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/genericThread.cpp \ - ../../test_common/harness/imageHelpers.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/threadTesting.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_gl -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/half/Jamfile b/test_conformance/half/Jamfile deleted file mode 100644 index 22d3efac..00000000 --- a/test_conformance/half/Jamfile +++ /dev/null @@ -1,22 +0,0 @@ -project - : requirements - -/harness//harness /harness//harness -# gcc:-xc++ - msvc:"/TP" - ; - -exe Test_half - : cl_utils.c - main.c - Test_roundTrip.c - Test_vLoadHalf.c - Test_vStoreHalf.c - /harness//errorHelpers.c - : windows:/harness//msvc9.c - ; - -install dist - : Test_half - : debug:$(DIST)/debug/tests/test_conformance/half - release:$(DIST)/release/tests/test_conformance/half - ; diff --git a/test_conformance/half/Makefile b/test_conformance/half/Makefile deleted file mode 100644 index 76b7a133..00000000 --- a/test_conformance/half/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - cl_utils.c \ - Test_vLoadHalf.c \ - Test_roundTrip.c \ - Test_vStoreHalf.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mingw_compat.c \ - ../../test_common/harness/testHarness.c - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = Test_half -INCLUDE = -COMPILERFLAGS = -c -Wall -g -CC = ${CROSS_COMPILE}g++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(INCLUDE) -LIBRARIES = -framework OpenCL ${ATF} - -OBJECTS := ${SOURCES:.c=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(INCLUDE) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/headers/Makefile b/test_conformance/headers/Makefile deleted file mode 100644 index 88c6680a..00000000 --- a/test_conformance/headers/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -EXECUTABLES = test_headers \ - test_cl_h \ - test_cl_platform_h \ - test_cl_gl_h \ - test_opencl_h \ - test_cl_h_c99 \ - test_cl_platform_h_c99 \ - test_cl_gl_h_c99 \ - test_opencl_h_c99 - -HARNESS_SRC = \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/testHarness.c - -INCLUDE = -HCFLAGS = ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CFLAGS = -Wall -pedantic ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = ${ATF} - -all : debug -release : debug -debug: - c++ $(HCFLAGS) test_headers.c $(HARNESS_SRC) $(LIBRARIES) -o test_headers - cc $(CFLAGS) test_cl.h.c $(LIBRARIES) -o test_cl_h - cc $(CFLAGS) test_cl_platform.h.c $(LIBRARIES) -o test_cl_platform_h - cc $(CFLAGS) test_cl_gl.h.c $(LIBRARIES) -o test_cl_gl_h - cc $(CFLAGS) test_opencl.h.c $(LIBRARIES) -o test_opencl_h - cc $(CFLAGS) -std=c99 test_cl.h.c $(LIBRARIES) -o test_cl_h_c99 - cc $(CFLAGS) -std=c99 test_cl_platform.h.c $(LIBRARIES) -o test_cl_platform_h_c99 - cc $(CFLAGS) -std=c99 test_cl_gl.h.c $(LIBRARIES) -o test_cl_gl_h_c99 - cc $(CFLAGS) -std=c99 test_opencl.h.c $(LIBRARIES) -o test_opencl_h_c99 - -install: - - -clean: - rm -f $(EXECUTABLES) diff --git a/test_conformance/images/Jamfile b/test_conformance/images/Jamfile deleted file mode 100644 index 081a4702..00000000 --- a/test_conformance/images/Jamfile +++ /dev/null @@ -1,9 +0,0 @@ -build-project clCopyImage ; -build-project clFillImage ; -build-project clGetInfo ; -build-project clReadWriteImage ; -build-project kernel_image_methods ; -build-project kernel_read_write ; -build_project samplerlessReads ; - -use-project /images : . ; diff --git a/test_conformance/images/Makefile b/test_conformance/images/Makefile deleted file mode 100644 index 9028f6c6..00000000 --- a/test_conformance/images/Makefile +++ /dev/null @@ -1,31 +0,0 @@ - -PRODUCTS = \ - clCopyImage/ \ - clFillImage/ \ - clGetInfo/ \ - clReadWriteImage/ \ - kernel_image_methods/ \ - kernel_read_write/ \ - samplerlessReads/ - -TOP=$(shell pwd) - -all: $(PRODUCTS) - -clean: - @for testdir in $(dir $(PRODUCTS)) ; \ - do ( \ - echo "==================================================================================" ; \ - echo "Cleaning $$testdir" ; \ - echo "==================================================================================" ; \ - cd $$testdir && make clean \ - ); \ - done \ - -$(PRODUCTS): - @echo "==================================================================================" ; - @echo "(`date "+%H:%M:%S"`) Make $@" ; - @echo "==================================================================================" ; - cd $(dir $@) && make -i - -.PHONY: clean $(PRODUCTS) all diff --git a/test_conformance/images/clCopyImage/Jamfile b/test_conformance/images/clCopyImage/Jamfile deleted file mode 100644 index 526e206c..00000000 --- a/test_conformance/images/clCopyImage/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_cl_copy_images - : main.cpp - test_copy_2D_3D.cpp - test_copy_2D.cpp - test_copy_3D.cpp - test_loops.cpp - ; - -install dist - : test_cl_copy_images - : debug:$(DIST)/debug/tests/test_conformance/images/clCopyImage - release:$(DIST)/release/tests/test_conformance/images/clCopyImage - ; diff --git a/test_conformance/images/clCopyImage/Makefile b/test_conformance/images/clCopyImage/Makefile deleted file mode 100644 index 18b93f07..00000000 --- a/test_conformance/images/clCopyImage/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_copy_generic.cpp \ - test_copy_1D.cpp \ - test_copy_2D.cpp \ - test_loops.cpp \ - test_copy_3D.cpp \ - test_copy_1D_array.cpp \ - test_copy_2D_array.cpp \ - test_copy_2D_3D.cpp \ - test_copy_2D_2D_array.cpp \ - test_copy_3D_2D_array.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/typeWrappers.cpp \ - ../../../test_common/harness/mt19937.c - - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_cl_copy_images -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/clFillImage/Jamfile b/test_conformance/images/clFillImage/Jamfile deleted file mode 100644 index 14812f04..00000000 --- a/test_conformance/images/clFillImage/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_cl_fill_images - : main.cpp - test_fill_2D_3D.cpp - test_fill_2D.cpp - test_fill_3D.cpp - test_loops.cpp - ; - -install dist - : test_cl_fill_images - : debug:$(DIST)/debug/tests/test_conformance/images/clFillImage - release:$(DIST)/release/tests/test_conformance/images/clFillImage - ; diff --git a/test_conformance/images/clFillImage/Makefile b/test_conformance/images/clFillImage/Makefile deleted file mode 100644 index 58f12012..00000000 --- a/test_conformance/images/clFillImage/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_fill_generic.cpp \ - test_fill_1D.cpp \ - test_fill_2D.cpp \ - test_fill_3D.cpp \ - test_fill_1D_array.cpp \ - test_fill_2D_array.cpp \ - test_loops.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.cpp \ - ../../../test_common/harness/typeWrappers.cpp \ - ../../../test_common/harness/mt19937.c - - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_cl_fill_images -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/clGetInfo/Jamfile b/test_conformance/images/clGetInfo/Jamfile deleted file mode 100644 index 9e8ac8d3..00000000 --- a/test_conformance/images/clGetInfo/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_cl_get_info - : main.cpp - test_2D.cpp - test_3D.cpp - test_loops.cpp - ; - -install dist - : test_cl_get_info - : debug:$(DIST)/debug/tests/test_conformance/images/clGetInfo - release:$(DIST)/release/tests/test_conformance/images/clGetInfo - ; diff --git a/test_conformance/images/clGetInfo/Makefile b/test_conformance/images/clGetInfo/Makefile deleted file mode 100644 index eb8b3cd0..00000000 --- a/test_conformance/images/clGetInfo/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_1D.cpp \ - test_2D.cpp \ - test_1D_2D_array.cpp \ - test_loops.cpp \ - test_3D.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/mt19937.c \ - ../../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_cl_get_info -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/clReadWriteImage/Jamfile b/test_conformance/images/clReadWriteImage/Jamfile deleted file mode 100644 index 70fa42f1..00000000 --- a/test_conformance/images/clReadWriteImage/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_cl_read_write_images - : main.cpp - test_read_2D.cpp - test_read_3D.cpp - test_loops.cpp - ; - -install dist - : test_cl_read_write_images - : debug:$(DIST)/debug/tests/test_conformance/images/clReadWriteImage - release:$(DIST)/release/tests/test_conformance/images/clReadWriteImage - ; diff --git a/test_conformance/images/clReadWriteImage/Makefile b/test_conformance/images/clReadWriteImage/Makefile deleted file mode 100644 index 458dcef1..00000000 --- a/test_conformance/images/clReadWriteImage/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_read_1D.cpp \ - test_read_1D_array.cpp \ - test_read_2D.cpp \ - test_read_2D_array.cpp \ - test_loops.cpp \ - test_read_3D.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/mt19937.c \ - ../../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_cl_read_write_images -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/kernel_image_methods/Jamfile b/test_conformance/images/kernel_image_methods/Jamfile deleted file mode 100644 index 1d5e227a..00000000 --- a/test_conformance/images/kernel_image_methods/Jamfile +++ /dev/null @@ -1,18 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_kernel_image_methods - : main.cpp - test_2D.cpp - test_3D.cpp - test_loops.cpp - ; - -install dist - : test_kernel_image_methods - : debug:$(DIST)/debug/tests/test_conformance/images/kernel_image_methods - release:$(DIST)/release/tests/test_conformance/images/kernel_image_methods - ; diff --git a/test_conformance/images/kernel_image_methods/Makefile b/test_conformance/images/kernel_image_methods/Makefile deleted file mode 100644 index 8079f5fb..00000000 --- a/test_conformance/images/kernel_image_methods/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_1D.cpp \ - test_1D_array.cpp \ - test_2D.cpp \ - test_2D_array.cpp \ - test_loops.cpp \ - test_3D.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/mt19937.c \ - ../../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_kernel_image_methods -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/kernel_read_write/Jamfile b/test_conformance/images/kernel_read_write/Jamfile deleted file mode 100644 index db1d2455..00000000 --- a/test_conformance/images/kernel_read_write/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_image_streams - : main.cpp - test_iterations.cpp - test_loops.cpp - test_read_3D.cpp - test_write_image.cpp - ; - -install dist - : test_image_streams - : debug:$(DIST)/debug/tests/test_conformance/images/kernel_read_write - release:$(DIST)/release/tests/test_conformance/images/kernel_read_write - ; diff --git a/test_conformance/images/kernel_read_write/Makefile b/test_conformance/images/kernel_read_write/Makefile deleted file mode 100644 index a9af0878..00000000 --- a/test_conformance/images/kernel_read_write/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_iterations.cpp \ - test_loops.cpp \ - test_write_image.cpp \ - test_read_1D.cpp \ - test_read_3D.cpp \ - test_read_1D_array.cpp \ - test_read_2D_array.cpp \ - test_write_1D.cpp \ - test_write_3D.cpp \ - test_write_1D_array.cpp \ - test_write_2D_array.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/mt19937.c \ - ../../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_image_streams -INCLUDE = -I../../test_common/harness -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/images/samplerlessReads/Jamfile b/test_conformance/images/samplerlessReads/Jamfile deleted file mode 100644 index cc495b35..00000000 --- a/test_conformance/images/samplerlessReads/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements -# gcc:-xc++ -# msvc:"/TP" - ; - -exe test_samplerless_reads - : main.cpp - test_iterations.cpp - test_loops.cpp - test_read_3D.cpp - ; - -install dist - : test_samplerless_reads - : debug:$(DIST)/debug/tests/test_conformance/images/samplerlessReads - release:$(DIST)/release/tests/test_conformance/images/samplerlessReads - ; - diff --git a/test_conformance/images/samplerlessReads/Makefile b/test_conformance/images/samplerlessReads/Makefile deleted file mode 100644 index c257a11a..00000000 --- a/test_conformance/images/samplerlessReads/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - test_iterations.cpp \ - test_loops.cpp \ - test_read_1D.cpp \ - test_read_1D_buffer.cpp \ - test_read_1D_array.cpp \ - test_read_2D_array.cpp \ - test_read_3D.cpp \ - ../../../test_common/harness/errorHelpers.c \ - ../../../test_common/harness/threadTesting.c \ - ../../../test_common/harness/kernelHelpers.c \ - ../../../test_common/harness/imageHelpers.cpp \ - ../../../test_common/harness/conversions.c \ - ../../../test_common/harness/testHarness.c \ - ../../../test_common/harness/mt19937.c \ - ../../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = -HEADERS = -TARGET = test_samplerless_reads -INCLUDE = -I../../test_common/harness -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CXX = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/integer_ops/Jamfile b/test_conformance/integer_ops/Jamfile deleted file mode 100644 index 961dc955..00000000 --- a/test_conformance/integer_ops/Jamfile +++ /dev/null @@ -1,28 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_integer_ops - : main.c - test_abs.c - test_absdiff.c - test_add_sat.c - test_int.c - test_integers.cpp - test_intmad24.c - test_intmul24.c - test_long.c - test_sub_sat.c - test_uint.c - test_ulong.c - test_upsample.cpp - ; - -install dist - : test_integer_ops - : debug:$(DIST)/debug/tests/test_conformance/integer_ops - release:$(DIST)/release/tests/test_conformance/integer_ops - ; - diff --git a/test_conformance/integer_ops/Makefile b/test_conformance/integer_ops/Makefile deleted file mode 100644 index 9848e76e..00000000 --- a/test_conformance/integer_ops/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_popcount.c \ - test_int_basic_ops.c \ - test_integers.cpp \ - test_upsample.cpp \ - test_intmul24.c test_intmad24.c \ - test_sub_sat.c test_add_sat.c \ - test_abs.c test_absdiff.c \ - test_unary_ops.cpp \ - verification_and_generation_functions.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/ThreadPool.c \ - ../../test_common/harness/kernelHelpers.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_integer_ops -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/math_brute_force/Jamfile b/test_conformance/math_brute_force/Jamfile deleted file mode 100644 index 39ee8bc8..00000000 --- a/test_conformance/math_brute_force/Jamfile +++ /dev/null @@ -1,36 +0,0 @@ -project - : requirements - -/harness//harness /harness//harness - /Runtime//OpenCL.lib -# gcc:-xc++ - msvc:"/TP" - ; - -exe bruteforce - : binary.c - binary_i.c - binaryOperator.c - binary_two_results_i.c - FunctionList.c - i_unary.c - macro_binary.c - macro_unary.c - mad.c - main.c - reference_math.c - Sleep.c - ternary.c - unary.c - unary_two_results.c - unary_two_results_i.c - unary_u.c - Utility.c - /harness//mt19937.c - : windows:/harness//msvc9.c - ; - -install dist - : bruteforce - : debug:$(DIST)/debug/tests/test_conformance/math_brute_force - release:$(DIST)/release/tests/test_conformance/math_brute_force - ; diff --git a/test_conformance/math_brute_force/Makefile b/test_conformance/math_brute_force/Makefile deleted file mode 100644 index 3c69e3e2..00000000 --- a/test_conformance/math_brute_force/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -CC = cc -CFLAGS = -g -Wall -Wshorten-64-to-32 $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} -LIBRARIES = -framework OpenCL -framework ApplicationServices -framework IOKit -I/System/Library/Frameworks/OpenCL.framework/Headers ${RC_CFLAGS} ${ATF} - -release: - echo "Build Release" - $(CC) *.c ../../test_common/harness/mt19937.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/ThreadPool.c -Os $(CFLAGS) -o bruteforce $(LIBRARIES) - -debug: - echo "Build Debug" - $(CC) *.c ../../test_common/harness/mt19937.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/ThreadPool.c -O0 $(CFLAGS) -D_DEBUG=1 -o bruteforce_debug $(LIBRARIES) - -test: release - arch -i386 ./bruteforce -c > cpu.log & - arch -i386 ./bruteforce -g > gpu.log & - echo "Testing 32-bit mode in progress. This may take up to 1 day to complete. See cpu.log and gpu.log for results." - -test64: release - arch -x86_64 ./bruteforce -c > cpu64.log & - arch -x86_64 ./bruteforce -g > gpu64.log & - echo "Testing 64-bit mode in progress. This may take up to 1 day to complete. See cpu64.log and gpu64.log for results." - - -clean: - rm -f ./bruteforce_debug - rm -f ./bruteforce - -all: release diff --git a/test_conformance/mem_host_flags/Makefile b/test_conformance/mem_host_flags/Makefile deleted file mode 100644 index 8f88d415..00000000 --- a/test_conformance/mem_host_flags/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp \ - mem_host_buffer.cpp \ - mem_host_image.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/genericThread.cpp \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/ThreadPool.c \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_mem_host_flags -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/multiple_device_context/Jamfile b/test_conformance/multiple_device_context/Jamfile deleted file mode 100644 index 715c2f11..00000000 --- a/test_conformance/multiple_device_context/Jamfile +++ /dev/null @@ -1,17 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_multiple_device_context - : main.c - test_multiple_contexts.c - test_multiple_devices.cpp - ; - -install dist - : test_multiple_device_context - : debug:$(DIST)/debug/tests/test_conformance/multiple_device_context - release:$(DIST)/release/tests/test_conformance/multiple_device_context - ; diff --git a/test_conformance/multiple_device_context/Makefile b/test_conformance/multiple_device_context/Makefile deleted file mode 100644 index 4054a55a..00000000 --- a/test_conformance/multiple_device_context/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_multiple_contexts.c \ - test_multiple_devices.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/genericThread.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/typeWrappers.cpp - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_multiples -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/non_uniform_work_group/Makefile b/test_conformance/non_uniform_work_group/Makefile deleted file mode 100644 index 3051c618..00000000 --- a/test_conformance/non_uniform_work_group/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_basic.cpp \ - test_advanced_2d.cpp \ - test_advanced_3d.cpp \ - test_advanced_other.cpp \ - TestNonUniformWorkGroup.cpp \ - tools.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - -DEFINES = DONT_TEST_GARBAGE_POINTERS - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -HEADERS = -TARGET = test_non_uniform_workgroup -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/printf/Jamfile b/test_conformance/printf/Jamfile deleted file mode 100644 index b310d5c2..00000000 --- a/test_conformance/printf/Jamfile +++ /dev/null @@ -1,5 +0,0 @@ -project : requirements windows,gcc:-xc++ msvc:"/TP" ; -exe test_printf : test_printf.c util_printf.c ../../test_common/harness/mt19937.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/errorHelpers.c : windows:../../test_common/harness/msvc9.c ; -install dist : test_printf : debug:$(DIST)/debug/tests/conformance/1.2/x86/printf release:$(DIST)/release/tests/conformance/1.2/x86/printf ; - -install dist : test_printf : debug:$(DIST)/debug/tests/conformance/1.2/x86_64/printf release:$(DIST)/release/tests/conformance/1.2/x86_64/printf 64 ; \ No newline at end of file diff --git a/test_conformance/printf/Makefile b/test_conformance/printf/Makefile deleted file mode 100644 index b5cf65d9..00000000 --- a/test_conformance/printf/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = test_printf.c \ - util_printf.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/msvc9.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_printf -INCLUDE = -COMPILERFLAGS = -c -Wall -g -O0 -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. - - - diff --git a/test_conformance/profiling/Jamfile b/test_conformance/profiling/Jamfile deleted file mode 100644 index 7dad6323..00000000 --- a/test_conformance/profiling/Jamfile +++ /dev/null @@ -1,22 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_profiling - : copy.c - execute.c - execute_multipass.c - main.c - readArray.c - readImage.c - writeArray.c - writeImage.c - ; - -install dist - : test_profiling - : debug:$(DIST)/debug/tests/test_conformance/profiling - release:$(DIST)/release/tests/test_conformance/profiling - ; diff --git a/test_conformance/profiling/Makefile b/test_conformance/profiling/Makefile deleted file mode 100644 index f1834fbc..00000000 --- a/test_conformance/profiling/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c readArray.c writeArray.c readImage.c writeImage.c copy.c execute.c execute_multipass.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/imageHelpers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/kernelHelpers.c - -SOURCES = $(abspath $(SRCS)) - - -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. - -FRAMEWORK = ${SOURCES} -HEADERS = -TARGET = test_profiling -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -#COMPILERFLAGS = -c -Wall -g -DUSE_LOCAL_THREADS -CC = c++ -CFLAGS = $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} -CXXFLAGS= $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/relationals/Jamfile b/test_conformance/relationals/Jamfile deleted file mode 100644 index 1ef71abf..00000000 --- a/test_conformance/relationals/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; - -exe test_relationals - : main.c - test_comparisons_double.cpp - test_comparisons_float.cpp - test_relationals.cpp - test_shuffles.cpp - ; - -install dist - : test_relationals - : debug:$(DIST)/debug/tests/test_conformance/relationals - release:$(DIST)/release/tests/test_conformance/relationals - ; diff --git a/test_conformance/relationals/Makefile b/test_conformance/relationals/Makefile deleted file mode 100644 index 99406dc8..00000000 --- a/test_conformance/relationals/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_relationals.cpp \ - test_shuffles.cpp \ - test_comparisons_double.cpp \ - test_comparisons_float.cpp \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_relationals -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/select/Jamfile b/test_conformance/select/Jamfile deleted file mode 100644 index 6448048e..00000000 --- a/test_conformance/select/Jamfile +++ /dev/null @@ -1,21 +0,0 @@ -project - : requirements - -/harness//harness /harness//harness -# gcc:-xc - msvc:"/TP" - ; - -exe test_select - : test_select.c - util_select.c - /harness//mt19937.c - /harness//kernelHelpers.c - /harness//errorHelpers.c - : windows:/harness//msvc9.c - ; - -install dist - : test_select - : debug:$(DIST)/debug/tests/test_conformance/select - release:$(DIST)/release/tests/test_conformance/select - ; diff --git a/test_conformance/select/Makefile b/test_conformance/select/Makefile deleted file mode 100644 index c89d5ff3..00000000 --- a/test_conformance/select/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = test_select.c util_select.c ../../test_common/harness/mt19937.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/errorHelpers.c - -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(abspath $(SRCS)) -HEADERS = test_select.h -TARGET = test_select -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Os -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} -LIBRARIES = -framework OpenCL ${ATF} - -OBJECTS = test_select.o util_select.o mt19937.o kernelHelpers.o errorHelpers.o -TARGETOBJECT = -all: $(TARGET) - -$(OBJECTS): $(FRAMEWORK) $(HEADERS) - $(CC) $(CFLAGS) $(INCLUDE) $(FRAMEWORK) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/spir/Makefile b/test_conformance/spir/Makefile deleted file mode 100644 index 377cfdd3..00000000 --- a/test_conformance/spir/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp datagen.cpp kernelargs.cpp run_build_test.cpp run_services.cpp \ - ../../test_common/miniz/miniz.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/typeWrappers.cpp \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/os_helpers.c \ - ../../test_common/harness/kernelHelpers.c - -SOURCES = $(abspath $(SRCS)) - - -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. - -FRAMEWORK = ${SOURCES} -HEADERS = -TARGET = test_spir -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -#COMPILERFLAGS = -c -Wall -g -DUSE_LOCAL_THREADS -CC = c++ -CFLAGS = $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} -CXXFLAGS= $(COMPILERFLAGS) $(RC_CFLAGS) ${USE_ATF} -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/subgroups/Jamfile b/test_conformance/subgroups/Jamfile deleted file mode 100644 index 728010b8..00000000 --- a/test_conformance/subgroups/Jamfile +++ /dev/null @@ -1,26 +0,0 @@ -project - : requirements - gcc:-xc++ - msvc:"/TP" - ; -exe test_subgroups - : main.cpp - test_queries.cpp - test_workitem.cpp - test_workgroup.cpp - test_barrier.cpp - ../../test_common/harness/errorHelpers.c - ../../test_common/harness/threadTesting.c - ../../test_common/harness/testHarness.c - ../../test_common/harness/mt19937.c - ../../test_common/harness/conversions.c - ../../test_common/harness/kernelHelpers.c - ../../test_common/harness/mt19937.c - : windows:../../test_common/harness/msvc9.c - ; -install dist - : test_subgroups - : debug:$(DIST)/debug/tests/test_conformance/subgroups - release:$(DIST)/release/tests/test_conformance/subgroups - ; - diff --git a/test_conformance/thread_dimensions/Jamfile b/test_conformance/thread_dimensions/Jamfile deleted file mode 100644 index 243a5ade..00000000 --- a/test_conformance/thread_dimensions/Jamfile +++ /dev/null @@ -1,16 +0,0 @@ -project - : requirements -# gcc:-xc++ - msvc:"/TP" - ; - -exe test_thread_dimensions - : main.c - test_thread_dimensions.c - ; - -install dist - : test_thread_dimensions - : debug:$(DIST)/debug/tests/test_conformance/thread_dimensions - release:$(DIST)/release/tests/test_conformance/thread_dimensions - ; diff --git a/test_conformance/thread_dimensions/Makefile b/test_conformance/thread_dimensions/Makefile deleted file mode 100644 index 331ce99a..00000000 --- a/test_conformance/thread_dimensions/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_thread_dimensions.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/typeWrappers.cpp - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_thread_dimensions -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Os -Wshorten-64-to-32 -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/vec_align/Jamfile b/test_conformance/vec_align/Jamfile deleted file mode 100644 index cc92cb44..00000000 --- a/test_conformance/vec_align/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements - -/harness//harness /harness//harness -# gcc:-xc - msvc:"/TP" - ; - -exe test_step - : test_step.c - globals.c - main.c - /harness//mt19937.c - ; - -install dist - : test_step - : debug:$(DIST)/debug/tests/test_conformance/vec_step - release:$(DIST)/release/tests/test_conformance/vec_step - ; diff --git a/test_conformance/vec_align/Makefile b/test_conformance/vec_align/Makefile deleted file mode 100644 index 262e1386..00000000 --- a/test_conformance/vec_align/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - structs.c \ - test_vec_align.c \ - globals.c \ - type_replacer.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_vecalign -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/vec_step/Jamfile b/test_conformance/vec_step/Jamfile deleted file mode 100644 index cc92cb44..00000000 --- a/test_conformance/vec_step/Jamfile +++ /dev/null @@ -1,19 +0,0 @@ -project - : requirements - -/harness//harness /harness//harness -# gcc:-xc - msvc:"/TP" - ; - -exe test_step - : test_step.c - globals.c - main.c - /harness//mt19937.c - ; - -install dist - : test_step - : debug:$(DIST)/debug/tests/test_conformance/vec_step - release:$(DIST)/release/tests/test_conformance/vec_step - ; diff --git a/test_conformance/vec_step/Makefile b/test_conformance/vec_step/Makefile deleted file mode 100644 index 654dfec7..00000000 --- a/test_conformance/vec_step/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - structs.c \ - test_step.c \ - globals.c \ - type_replacer.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/kernelHelpers.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/conversions.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_vecstep -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_conformance/workgroups/Makefile b/test_conformance/workgroups/Makefile deleted file mode 100644 index 6f9d0a04..00000000 --- a/test_conformance/workgroups/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.c \ - test_wg_all.c \ - test_wg_any.c \ - test_wg_reduce.c \ - test_wg_reduce_min.c \ - test_wg_reduce_max.c \ - test_wg_scan_inclusive_add.c \ - test_wg_scan_exclusive_add.c \ - test_wg_broadcast.c \ - ../../test_common/harness/errorHelpers.c \ - ../../test_common/harness/threadTesting.c \ - ../../test_common/harness/testHarness.c \ - ../../test_common/harness/conversions.c \ - ../../test_common/harness/mt19937.c \ - ../../test_common/harness/kernelHelpers.c - -DEFINES = - -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = test_workgroup_fns -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -Os -CC = c++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile. diff --git a/test_extensions/media_sharing/Makefile b/test_extensions/media_sharing/Makefile deleted file mode 100644 index b199ac6f..00000000 --- a/test_extensions/media_sharing/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -ifdef BUILD_WITH_ATF -ATF = -framework ATF -USE_ATF = -DUSE_ATF -endif - -SRCS = main.cpp wrappers.cpp utils.cpp test_create_context.cpp test_functions_api.cpp test_functions_kernel.cpp test_get_device_ids.cpp test_interop_sync.cpp test_memory_access.cpp test_other_data_types.cpp ../../test_common/harness/errorHelpers.c ../../test_common/harness/testHarness.c ../../test_common/harness/mt19937.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/typeWrappers.cpp ../../test_common/harness/kernelHelpers.c -DEFINES = -SOURCES = $(abspath $(SRCS)) -LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries -LIBPATH += -L. -FRAMEWORK = $(SOURCES) -HEADERS = -TARGET = media_sharing -INCLUDE = -COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32 -CC = g++ -CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE) -LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF} - -OBJECTS := ${SOURCES:.c=.o} -OBJECTS := ${OBJECTS:.cpp=.o} - -TARGETOBJECT = -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES) - -clean: - rm -f $(TARGET) $(OBJECTS) - -.DEFAULT: - @echo The target \"$@\" does not exist in Makefile.