Copyright | [2009..2023] Trevor L. McDonell |
---|---|
License | BSD |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Querying module attributes for low-level driver interface
Querying module inhabitants
getPtr :: Module -> ShortByteString -> IO (DevicePtr a, Int) Source #
Return a global pointer, and size of the global (in bytes).