forked from dereklstinson/hip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todos.go
20 lines (14 loc) · 1.91 KB
/
todos.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package hip
import "C"
//func hipExtGetLinkTypeAndHopCount(int device1, int device2, uint32_t* linktype, uint32_t* hopcount)error{return status(C.hipExtGetLinkTypeAndHopCount(int device1, int device2, uint32_t* linktype, uint32_t* hopcount)).error("hipExtGetLinkTypeAndHopCount")}
//func hipPeekAtLastError(void)error{return status(C.hipPeekAtLastError(void)).error("hipPeekAtLastError")}
//func hipInit(unsigned int flags)error{return status(C.hipInit(unsigned int flags)).error("hipInit")}
//func hipDriverGetVersion(int* driverVersion)error{return status(C.hipDriverGetVersion(int* driverVersion)).error("hipDriverGetVersion")}
//func hipRuntimeGetVersion(int* runtimeVersion)error{return status(C.hipRuntimeGetVersion(int* runtimeVersion)).error("hipRuntimeGetVersion")}
//func hipProfilerStart()error{return status(C.hipProfilerStart()).error("hipProfilerStart")}
//func hipProfilerStop()error{return status(C.hipProfilerStop()).error("hipProfilerStop")}
//func hipIpcGetMemHandle(hipIpcMemHandle_t* handle, void* devPtr)error{return status(C.hipIpcGetMemHandle(hipIpcMemHandle_t* handle, void* devPtr)).error("hipIpcGetMemHandle")}
//func hipIpcOpenMemHandle(void** devPtr, hipIpcMemHandle_t handle, unsigned int flags)error{return status(C.hipIpcOpenMemHandle(void** devPtr, hipIpcMemHandle_t handle, unsigned int flags)).error("hipIpcOpenMemHandle")}
//func hipIpcCloseMemHandle(void* devPtr)error{return status(C.hipIpcCloseMemHandle(void* devPtr)).error("hipIpcCloseMemHandle")}
//func hipConfigureCall(dim3 gridDim, dim3 blockDim, size_t sharedMem __dparm(0), hipStream_t stream __dparm(0))error{return status(C.hipConfigureCall(dim3 gridDim, dim3 blockDim, size_t sharedMem __dparm(0), hipStream_t stream __dparm(0))).error("hipConfigureCall")}
//func hipSetupArgument(const void* arg, size_t size, size_t offset)error{return status(C.hipSetupArgument(const void* arg, size_t size, size_t offset)).error("hipSetupArgument")}