summaryrefslogtreecommitdiff
path: root/Foreign/CUDA/Cublas/FFI.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Foreign/CUDA/Cublas/FFI.hs')
-rw-r--r--Foreign/CUDA/Cublas/FFI.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Foreign/CUDA/Cublas/FFI.hs b/Foreign/CUDA/Cublas/FFI.hs
new file mode 100644
index 0000000..808ab1b
--- /dev/null
+++ b/Foreign/CUDA/Cublas/FFI.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
+
+module Foreign.CUDA.Cublas.FFI where
+import Foreign.CUDA.Cublas.TH
+import Foreign.C.Types
+
+$(doIO $ makeFFIDecs "cublas" cublasFile)
+$(doIO $ makeAllFuncs "cublas" cublasFile)