 module Foreign.CUDA.Driver.Exec
   (
     Fun(Fun),  -- need to export the data constructor for use by Module )=
-    FunParam(..), FunAttribute(..),
-    requires, setBlockShape, setSharedSize, setParams, launch
+    FunParam(..), FunAttribute(..), CacheConfig(..),
+    requires, setBlockShape, setSharedSize, setCacheConfig, setParams, launch
   )
   where
 

  { useFun   `Fun'
  , cIntConv `Integer' } -> `Status' cToEnum #}


-- |
-- Invoke the kernel on a size (w,h) grid of blocks. Each block contains the

    , MAX_THREADS_PER_BLOCK as MaxKernelThreadsPerBlock }
    with prefix="CU_FUNC_ATTRIBUTE" deriving (Eq, Show) #}

#if CUDA_VERSION >= 3000
-- |
-- Cache configuration preference
--
{# enum CUfunc_cache_enum as CacheConfig
    { underscoreToCase }
    with prefix="CU_FUNC_CACHE_PREFER" deriving (Eq, Show) #}
#endif

-- |
-- Kernel function parameters
