 
   -- * Module Management
   Module, JITOption(..), JITTarget(..), JITResult(..),
-  getFun, getPtr, getTex, loadFile, loadData, loadDataEx, unload
+
+  -- ** Querying module inhabitants
+  getFun, getPtr, getTex,
+
+  -- ** Loading and unloading modules
+  loadFile,
+  loadData,   loadDataFromPtr,
+  loadDataEx, loadDataFromPtrEx,
+  unload
 
 ) where
 


{-# INLINE cuModuleLoadDataEx #-}
{# fun unsafe cuModuleLoadDataEx
  { alloca-        `Module'       peekMod*
  , useByteString* `ByteString'
  ,                `Int'
  , id             `Ptr CInt'
  , id             `Ptr (Ptr ())'          } -> `Status' cToEnum #}


-- |


-- |
-- Load the contents of the specified file (either a ptx or cubin file) to
-- create a new module, and load that module into the current context.
--
{-# INLINEABLE loadFile #-}
loadFile :: FilePath -> IO Module
