From ca30d605f9e3b5c4f48b3060d1f80cb485abfa07 Mon Sep 17 00:00:00 2001 From: Yichao Yu <yyc1992@gmail.com> Date: Sun, 18 May 2014 23:43:40 -0400 Subject: [PATCH] clean up --- TODOs | 1 - _cffi.py | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 _cffi.py diff --git a/TODOs b/TODOs index b3b5f4bb..ebe00cb6 100644 --- a/TODOs +++ b/TODOs @@ -4,5 +4,4 @@ - Kernel.get_arg_info - image/buffer copies - interaction with threading BEGIN_ALLOW_THREADS/END_ALLOW_THREADS -- _pvt_struct - Incorporate fixes in C++ stuff from after the fork diff --git a/_cffi.py b/_cffi.py deleted file mode 100644 index 16789bd2..00000000 --- a/_cffi.py +++ /dev/null @@ -1,20 +0,0 @@ -from cffi import FFI - -import os.path - -current_directory = os.path.dirname(__file__) - -_ffi = FFI() -def _get_verifier(**kwargs): - from cffi.verifier import Verifier - ver = Verifier( - _ffi, - """ - #include <wrap_cl.h> - """, - tmpdir="pyopencl/__cffi__", - modulename='_cffi_wrapcl', - **kwargs) - ver.compile_module() - return ver - -- GitLab