[HIPIFY] Sync more CUDA Driver API functions.

+ 4.14. Event Management
+ 4.15. Execution Control

ToDo: 4.16 - 4.31 modules of CUDA Driver API.
Este commit está contenido en:
Evgeny Mankov
2017-06-22 21:53:32 +03:00
padre 871c2fc8d6
commit b4a39664f0
Se han modificado 2 ficheros con 14 adiciones y 1 borrados
@@ -583,12 +583,21 @@
| **CUDA** | **HIP** | **CUDA description** |
|-----------------------------------------------------------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| `cuEventCreate` | `hipEventCreate` | Creates an event. |
| `cuEventDestroy` | `hipEventDestroy` | Destroys an event. |
| `cuEventElapsedTime` | `hipEventElapsedTime` | Computes the elapsed time between two events. |
| `cuEventQuery` | `hipEventQuery` | Queries an event's status. |
| `cuEventRecord` | `hipEventRecord` | Records an event. |
| `cuEventSynchronize` | `hipEventSynchronize` | Waits for an event to complete. |
## **15. Execution Control**
| **CUDA** | **HIP** | **CUDA description** |
|-----------------------------------------------------------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| `cuFuncGetAttribute` | | Returns information about a function. |
| `cuFuncSetCacheConfig` | `hipFuncSetCacheConfig` | Sets the preferred cache configuration for a device function. |
| `cuFuncSetSharedMemConfig` | | Sets the shared memory configuration for a device function. |
| `cuLaunchKernel` | `hipModuleLaunchKernel` | Launches a CUDA function. |
## **16. Execution Control [DEPRECATED]**