summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile147
-rw-r--r--examples/trivial/Makefile161
-rw-r--r--src/Makefile512
-rw-r--r--src/cl_api.c0
4 files changed, 0 insertions, 820 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 20630e9..0000000
--- a/Makefile
+++ /dev/null
@@ -1,147 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/zack/projects/clover
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/zack/projects/clover
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
- /usr/bin/cmake -i .
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles /home/zack/projects/clover/CMakeFiles/progress.make
- $(MAKE) -f CMakeFiles/Makefile2 all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- $(MAKE) -f CMakeFiles/Makefile2 clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- $(MAKE) -f CMakeFiles/Makefile2 preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- $(MAKE) -f CMakeFiles/Makefile2 preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-#=============================================================================
-# Target rules for targets named OpenCL
-
-# Build rule for target.
-OpenCL: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 OpenCL
-.PHONY : OpenCL
-
-# fast build rule for target.
-OpenCL/fast:
- $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/build
-.PHONY : OpenCL/fast
-
-#=============================================================================
-# Target rules for targets named basic
-
-# Build rule for target.
-basic: cmake_check_build_system
- $(MAKE) -f CMakeFiles/Makefile2 basic
-.PHONY : basic
-
-# fast build rule for target.
-basic/fast:
- $(MAKE) -f examples/trivial/CMakeFiles/basic.dir/build.make examples/trivial/CMakeFiles/basic.dir/build
-.PHONY : basic/fast
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... edit_cache"
- @echo "... rebuild_cache"
- @echo "... OpenCL"
- @echo "... basic"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/examples/trivial/Makefile b/examples/trivial/Makefile
deleted file mode 100644
index 634d288..0000000
--- a/examples/trivial/Makefile
+++ /dev/null
@@ -1,161 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/zack/projects/clover
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/zack/projects/clover
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
- /usr/bin/cmake -i .
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles /home/zack/projects/clover/examples/trivial/CMakeFiles/progress.make
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 examples/trivial/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 examples/trivial/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 examples/trivial/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 examples/trivial/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Convenience name for target.
-examples/trivial/CMakeFiles/basic.dir/rule:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 examples/trivial/CMakeFiles/basic.dir/rule
-.PHONY : examples/trivial/CMakeFiles/basic.dir/rule
-
-# Convenience name for target.
-basic: examples/trivial/CMakeFiles/basic.dir/rule
-.PHONY : basic
-
-# fast build rule for target.
-basic/fast:
- cd /home/zack/projects/clover && $(MAKE) -f examples/trivial/CMakeFiles/basic.dir/build.make examples/trivial/CMakeFiles/basic.dir/build
-.PHONY : basic/fast
-
-basic.o: basic.c.o
-.PHONY : basic.o
-
-# target to build an object file
-basic.c.o:
- cd /home/zack/projects/clover && $(MAKE) -f examples/trivial/CMakeFiles/basic.dir/build.make examples/trivial/CMakeFiles/basic.dir/basic.c.o
-.PHONY : basic.c.o
-
-basic.i: basic.c.i
-.PHONY : basic.i
-
-# target to preprocess a source file
-basic.c.i:
- cd /home/zack/projects/clover && $(MAKE) -f examples/trivial/CMakeFiles/basic.dir/build.make examples/trivial/CMakeFiles/basic.dir/basic.c.i
-.PHONY : basic.c.i
-
-basic.s: basic.c.s
-.PHONY : basic.s
-
-# target to generate assembly for a file
-basic.c.s:
- cd /home/zack/projects/clover && $(MAKE) -f examples/trivial/CMakeFiles/basic.dir/build.make examples/trivial/CMakeFiles/basic.dir/basic.c.s
-.PHONY : basic.c.s
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... basic"
- @echo "... edit_cache"
- @echo "... rebuild_cache"
- @echo "... basic.o"
- @echo "... basic.i"
- @echo "... basic.s"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 94c2e8b..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,512 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.6
-
-# Default target executed when no arguments are given to make.
-default_target: all
-.PHONY : default_target
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/zack/projects/clover
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/zack/projects/clover
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
- /usr/bin/cmake -i .
-.PHONY : edit_cache
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-.PHONY : edit_cache/fast
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-.PHONY : rebuild_cache
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-.PHONY : rebuild_cache/fast
-
-# The main all target
-all: cmake_check_build_system
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles /home/zack/projects/clover/src/CMakeFiles/progress.make
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 src/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/zack/projects/clover/CMakeFiles 0
-.PHONY : all
-
-# The main clean target
-clean:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 src/clean
-.PHONY : clean
-
-# The main clean target
-clean/fast: clean
-.PHONY : clean/fast
-
-# Prepare targets for installation.
-preinstall: all
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
-.PHONY : preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
-.PHONY : preinstall/fast
-
-# clear depends
-depend:
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-.PHONY : depend
-
-# Convenience name for target.
-src/CMakeFiles/OpenCL.dir/rule:
- cd /home/zack/projects/clover && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/OpenCL.dir/rule
-.PHONY : src/CMakeFiles/OpenCL.dir/rule
-
-# Convenience name for target.
-OpenCL: src/CMakeFiles/OpenCL.dir/rule
-.PHONY : OpenCL
-
-# fast build rule for target.
-OpenCL/fast:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/build
-.PHONY : OpenCL/fast
-
-__/cpuwinsys/cpuwinsys.o: __/cpuwinsys/cpuwinsys.c.o
-.PHONY : __/cpuwinsys/cpuwinsys.o
-
-# target to build an object file
-__/cpuwinsys/cpuwinsys.c.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/__/cpuwinsys/cpuwinsys.c.o
-.PHONY : __/cpuwinsys/cpuwinsys.c.o
-
-__/cpuwinsys/cpuwinsys.i: __/cpuwinsys/cpuwinsys.c.i
-.PHONY : __/cpuwinsys/cpuwinsys.i
-
-# target to preprocess a source file
-__/cpuwinsys/cpuwinsys.c.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/__/cpuwinsys/cpuwinsys.c.i
-.PHONY : __/cpuwinsys/cpuwinsys.c.i
-
-__/cpuwinsys/cpuwinsys.s: __/cpuwinsys/cpuwinsys.c.s
-.PHONY : __/cpuwinsys/cpuwinsys.s
-
-# target to generate assembly for a file
-__/cpuwinsys/cpuwinsys.c.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/__/cpuwinsys/cpuwinsys.c.s
-.PHONY : __/cpuwinsys/cpuwinsys.c.s
-
-api_command.o: api_command.cpp.o
-.PHONY : api_command.o
-
-# target to build an object file
-api_command.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_command.cpp.o
-.PHONY : api_command.cpp.o
-
-api_command.i: api_command.cpp.i
-.PHONY : api_command.i
-
-# target to preprocess a source file
-api_command.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_command.cpp.i
-.PHONY : api_command.cpp.i
-
-api_command.s: api_command.cpp.s
-.PHONY : api_command.s
-
-# target to generate assembly for a file
-api_command.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_command.cpp.s
-.PHONY : api_command.cpp.s
-
-api_context.o: api_context.cpp.o
-.PHONY : api_context.o
-
-# target to build an object file
-api_context.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_context.cpp.o
-.PHONY : api_context.cpp.o
-
-api_context.i: api_context.cpp.i
-.PHONY : api_context.i
-
-# target to preprocess a source file
-api_context.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_context.cpp.i
-.PHONY : api_context.cpp.i
-
-api_context.s: api_context.cpp.s
-.PHONY : api_context.s
-
-# target to generate assembly for a file
-api_context.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_context.cpp.s
-.PHONY : api_context.cpp.s
-
-api_device.o: api_device.cpp.o
-.PHONY : api_device.o
-
-# target to build an object file
-api_device.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_device.cpp.o
-.PHONY : api_device.cpp.o
-
-api_device.i: api_device.cpp.i
-.PHONY : api_device.i
-
-# target to preprocess a source file
-api_device.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_device.cpp.i
-.PHONY : api_device.cpp.i
-
-api_device.s: api_device.cpp.s
-.PHONY : api_device.s
-
-# target to generate assembly for a file
-api_device.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_device.cpp.s
-.PHONY : api_device.cpp.s
-
-api_enqueue.o: api_enqueue.cpp.o
-.PHONY : api_enqueue.o
-
-# target to build an object file
-api_enqueue.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_enqueue.cpp.o
-.PHONY : api_enqueue.cpp.o
-
-api_enqueue.i: api_enqueue.cpp.i
-.PHONY : api_enqueue.i
-
-# target to preprocess a source file
-api_enqueue.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_enqueue.cpp.i
-.PHONY : api_enqueue.cpp.i
-
-api_enqueue.s: api_enqueue.cpp.s
-.PHONY : api_enqueue.s
-
-# target to generate assembly for a file
-api_enqueue.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_enqueue.cpp.s
-.PHONY : api_enqueue.cpp.s
-
-api_event.o: api_event.cpp.o
-.PHONY : api_event.o
-
-# target to build an object file
-api_event.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_event.cpp.o
-.PHONY : api_event.cpp.o
-
-api_event.i: api_event.cpp.i
-.PHONY : api_event.i
-
-# target to preprocess a source file
-api_event.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_event.cpp.i
-.PHONY : api_event.cpp.i
-
-api_event.s: api_event.cpp.s
-.PHONY : api_event.s
-
-# target to generate assembly for a file
-api_event.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_event.cpp.s
-.PHONY : api_event.cpp.s
-
-api_flush.o: api_flush.cpp.o
-.PHONY : api_flush.o
-
-# target to build an object file
-api_flush.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_flush.cpp.o
-.PHONY : api_flush.cpp.o
-
-api_flush.i: api_flush.cpp.i
-.PHONY : api_flush.i
-
-# target to preprocess a source file
-api_flush.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_flush.cpp.i
-.PHONY : api_flush.cpp.i
-
-api_flush.s: api_flush.cpp.s
-.PHONY : api_flush.s
-
-# target to generate assembly for a file
-api_flush.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_flush.cpp.s
-.PHONY : api_flush.cpp.s
-
-api_kernel.o: api_kernel.cpp.o
-.PHONY : api_kernel.o
-
-# target to build an object file
-api_kernel.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_kernel.cpp.o
-.PHONY : api_kernel.cpp.o
-
-api_kernel.i: api_kernel.cpp.i
-.PHONY : api_kernel.i
-
-# target to preprocess a source file
-api_kernel.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_kernel.cpp.i
-.PHONY : api_kernel.cpp.i
-
-api_kernel.s: api_kernel.cpp.s
-.PHONY : api_kernel.s
-
-# target to generate assembly for a file
-api_kernel.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_kernel.cpp.s
-.PHONY : api_kernel.cpp.s
-
-api_memory.o: api_memory.cpp.o
-.PHONY : api_memory.o
-
-# target to build an object file
-api_memory.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_memory.cpp.o
-.PHONY : api_memory.cpp.o
-
-api_memory.i: api_memory.cpp.i
-.PHONY : api_memory.i
-
-# target to preprocess a source file
-api_memory.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_memory.cpp.i
-.PHONY : api_memory.cpp.i
-
-api_memory.s: api_memory.cpp.s
-.PHONY : api_memory.s
-
-# target to generate assembly for a file
-api_memory.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_memory.cpp.s
-.PHONY : api_memory.cpp.s
-
-api_platform.o: api_platform.cpp.o
-.PHONY : api_platform.o
-
-# target to build an object file
-api_platform.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_platform.cpp.o
-.PHONY : api_platform.cpp.o
-
-api_platform.i: api_platform.cpp.i
-.PHONY : api_platform.i
-
-# target to preprocess a source file
-api_platform.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_platform.cpp.i
-.PHONY : api_platform.cpp.i
-
-api_platform.s: api_platform.cpp.s
-.PHONY : api_platform.s
-
-# target to generate assembly for a file
-api_platform.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_platform.cpp.s
-.PHONY : api_platform.cpp.s
-
-api_profiling.o: api_profiling.cpp.o
-.PHONY : api_profiling.o
-
-# target to build an object file
-api_profiling.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_profiling.cpp.o
-.PHONY : api_profiling.cpp.o
-
-api_profiling.i: api_profiling.cpp.i
-.PHONY : api_profiling.i
-
-# target to preprocess a source file
-api_profiling.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_profiling.cpp.i
-.PHONY : api_profiling.cpp.i
-
-api_profiling.s: api_profiling.cpp.s
-.PHONY : api_profiling.s
-
-# target to generate assembly for a file
-api_profiling.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_profiling.cpp.s
-.PHONY : api_profiling.cpp.s
-
-api_program.o: api_program.cpp.o
-.PHONY : api_program.o
-
-# target to build an object file
-api_program.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_program.cpp.o
-.PHONY : api_program.cpp.o
-
-api_program.i: api_program.cpp.i
-.PHONY : api_program.i
-
-# target to preprocess a source file
-api_program.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_program.cpp.i
-.PHONY : api_program.cpp.i
-
-api_program.s: api_program.cpp.s
-.PHONY : api_program.s
-
-# target to generate assembly for a file
-api_program.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_program.cpp.s
-.PHONY : api_program.cpp.s
-
-api_sampler.o: api_sampler.cpp.o
-.PHONY : api_sampler.o
-
-# target to build an object file
-api_sampler.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_sampler.cpp.o
-.PHONY : api_sampler.cpp.o
-
-api_sampler.i: api_sampler.cpp.i
-.PHONY : api_sampler.i
-
-# target to preprocess a source file
-api_sampler.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_sampler.cpp.i
-.PHONY : api_sampler.cpp.i
-
-api_sampler.s: api_sampler.cpp.s
-.PHONY : api_sampler.s
-
-# target to generate assembly for a file
-api_sampler.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/api_sampler.cpp.s
-.PHONY : api_sampler.cpp.s
-
-device.o: device.cpp.o
-.PHONY : device.o
-
-# target to build an object file
-device.cpp.o:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/device.cpp.o
-.PHONY : device.cpp.o
-
-device.i: device.cpp.i
-.PHONY : device.i
-
-# target to preprocess a source file
-device.cpp.i:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/device.cpp.i
-.PHONY : device.cpp.i
-
-device.s: device.cpp.s
-.PHONY : device.s
-
-# target to generate assembly for a file
-device.cpp.s:
- cd /home/zack/projects/clover && $(MAKE) -f src/CMakeFiles/OpenCL.dir/build.make src/CMakeFiles/OpenCL.dir/device.cpp.s
-.PHONY : device.cpp.s
-
-# Help Target
-help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... clean"
- @echo "... depend"
- @echo "... OpenCL"
- @echo "... edit_cache"
- @echo "... rebuild_cache"
- @echo "... __/cpuwinsys/cpuwinsys.o"
- @echo "... __/cpuwinsys/cpuwinsys.i"
- @echo "... __/cpuwinsys/cpuwinsys.s"
- @echo "... api_command.o"
- @echo "... api_command.i"
- @echo "... api_command.s"
- @echo "... api_context.o"
- @echo "... api_context.i"
- @echo "... api_context.s"
- @echo "... api_device.o"
- @echo "... api_device.i"
- @echo "... api_device.s"
- @echo "... api_enqueue.o"
- @echo "... api_enqueue.i"
- @echo "... api_enqueue.s"
- @echo "... api_event.o"
- @echo "... api_event.i"
- @echo "... api_event.s"
- @echo "... api_flush.o"
- @echo "... api_flush.i"
- @echo "... api_flush.s"
- @echo "... api_kernel.o"
- @echo "... api_kernel.i"
- @echo "... api_kernel.s"
- @echo "... api_memory.o"
- @echo "... api_memory.i"
- @echo "... api_memory.s"
- @echo "... api_platform.o"
- @echo "... api_platform.i"
- @echo "... api_platform.s"
- @echo "... api_profiling.o"
- @echo "... api_profiling.i"
- @echo "... api_profiling.s"
- @echo "... api_program.o"
- @echo "... api_program.i"
- @echo "... api_program.s"
- @echo "... api_sampler.o"
- @echo "... api_sampler.i"
- @echo "... api_sampler.s"
- @echo "... device.o"
- @echo "... device.i"
- @echo "... device.s"
-.PHONY : help
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
- cd /home/zack/projects/clover && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-
diff --git a/src/cl_api.c b/src/cl_api.c
deleted file mode 100644
index e69de29..0000000
--- a/src/cl_api.c
+++ /dev/null