Skip to content
Snippets Groups Projects
Commit 08f4edc8 authored by Marko Bencun's avatar Marko Bencun
Browse files

forgot _cffi.py

parent 66c2b9e5
No related branches found
No related tags found
No related merge requests found
_cffi.py 0 → 100644
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment