Index
Modules:
hippo
.
API symbols
`$`:
hippo: proc `$`(self: ConstCString): string
`=destroy`:
hippo: proc `=destroy`(mem: var GpuMemory)
BlockDim:
hippo: object BlockDim
blockDim:
hippo: let blockDim
BlockIdx:
hippo: object BlockIdx
blockIdx:
hippo: let blockIdx
ConstCString:
hippo: object ConstCString
Dim3:
hippo: object Dim3
GridDim:
hippo: object GridDim
gridDim:
hippo: let gridDim
handleError:
hippo: proc handleError(err: hipError_t)
hipDeviceSynchronize:
hippo: proc hipDeviceSynchronize(): hipError_t
hipError_t:
hippo: type hipError_t
hipFree:
hippo: proc hipFree(ptr: pointer): hipError_t
hipGetErrorString:
hippo: proc hipGetErrorString(err: hipError_t): ConstCString
hipGetLastError:
hippo: proc hipGetLastError(): hipError_t
hipLaunchKernel:
hippo: proc hipLaunchKernel(function_address: pointer; numBlocks: Dim3; dimBlocks: Dim3; args: ptr pointer): hipError_t
hippo: proc hipLaunchKernel(function_address: pointer; numBlocks: Dim3; dimBlocks: Dim3; args: ptr pointer; sharedMemBytes: csize_t; stream: hipStream_t): cint
hipLaunchKernelGGL:
hippo: proc hipLaunchKernelGGL(function_address: proc; numBlocks: Dim3; dimBlocks: Dim3; sharedMemBytes: uint32_t; stream: hipStream_t)
hipMalloc:
hippo: proc hipMalloc(ptr: ptr pointer; size: cint): hipError_t
hipMemcpy:
hippo: proc hipMemcpy(dst: pointer; src: pointer; size: cint; kind: hipMemcpyKind): hipError_t
hipMemcpyKind:
hippo: enum hipMemcpyKind
hippoArgs:
hippo: macro hippoArgs(args: varargs[untyped]): untyped
hippoConstant:
hippo: macro hippoConstant(v: untyped): untyped
hippoDevice:
hippo: macro hippoDevice(fn: untyped): untyped
HippoError:
hippo: type HippoError
hippoFree:
hippo: template hippoFree(p: pointer)
hippoGlobal:
hippo: macro hippoGlobal(fn: untyped): untyped
hippoHost:
hippo: macro hippoHost(fn: untyped): untyped
hippoHostDevice:
hippo: macro hippoHostDevice(fn: untyped): untyped
hippoLaunchKernel:
hippo: template hippoLaunchKernel(kernel: proc; ## The GPU kernel procedure to launch gridDim: Dim3 = newDim3(1, 1, 1); ## default to a grid of 1 block blockDim: Dim3 = newDim3(1, 1, 1); ## default to 1 thread per block sharedMemBytes: uint32 = 0; ## dynamic shared memory amount to allocate stream: HippoStream = nil; ## Which device stream to run under (defaults to null) args: untyped)
hippoMalloc:
hippo: template hippoMalloc(size: int): GpuRef
hippoMemcpy:
hippo: template hippoMemcpy(dst: GpuRef; src: GpuRef; size: int; kind: HippoMemcpyKind)
hippo: template hippoMemcpy(dst: GpuRef; src: pointer; size: int; kind: HippoMemcpyKind)
hippo: template hippoMemcpy(dst: pointer; src: GpuRef; size: int; kind: HippoMemcpyKind)
hippo: template hippoMemcpy(dst: pointer; src: pointer; size: int; kind: HippoMemcpyKind)
HippoMemcpyDefault:
hippo: const HippoMemcpyDefault
HippoMemcpyDeviceToDevice:
hippo: const HippoMemcpyDeviceToDevice
HippoMemcpyDeviceToHost:
hippo: const HippoMemcpyDeviceToHost
HippoMemcpyHostToDevice:
hippo: const HippoMemcpyHostToDevice
HippoMemcpyHostToHost:
hippo: const HippoMemcpyHostToHost
HippoMemcpyKind:
hippo: type HippoMemcpyKind
HippoRuntime:
hippo: const HippoRuntime
hippoShared:
hippo: macro hippoShared(v: untyped): untyped
HippoStream:
hippo: type HippoStream
hippoSynchronize:
hippo: template hippoSynchronize()
hippoSyncthreads:
hippo: proc hippoSyncthreads()
hipStream_t:
hippo: type hipStream_t
hipSyncthreads:
hippo: proc hipSyncthreads()
newDim3:
hippo: proc newDim3(x: uint32_t = 1; y: uint32_t = 1; z: uint32_t = 1): Dim3
size_t:
hippo: type size_t
ThreadIdx:
hippo: object ThreadIdx
threadIdx:
hippo: let threadIdx
toConstCString:
hippo: converter toConstCString(self: cstring): ConstCString
toCString:
hippo: converter toCString(self: ConstCString): cstring
uint16_t:
hippo: type uint16_t
uint32_t:
hippo: type uint32_t
uint64_t:
hippo: type uint64_t
uint8_t:
hippo: type uint8_t