Add hipEventDisableSystemRelease flag.

[ROCm/hip commit: b306095ac2]
This commit is contained in:
Ben Sander
2017-05-12 15:57:32 -05:00
förälder 3408458f9f
incheckning b1b71c4c75
3 ändrade filer med 12 tillägg och 1 borttagningar
@@ -106,6 +106,7 @@ enum hipLimit_t
#define hipEventBlockingSync 0x1 ///< Waiting will yield CPU. Power-friendly and usage-friendly but may increase latency.
#define hipEventDisableTiming 0x2 ///< Disable event's capability to record timing information. May improve performance.
#define hipEventInterprocess 0x4 ///< Event can support IPC. @warning - not supported in HIP.
#define hipEventDisableSystemRelease 0x80000000 /// < Disable the system-scope release that event normally performs when it records. This flag is useful to obtain more precise timings of commands between events. The flag is a no-op on CUDA platforms.
//! Flags that can be used with hipHostMalloc
@@ -58,6 +58,8 @@ hipMemcpyHostToHost
#define hipEventBlockingSync cudaEventBlockingSync
#define hipEventDisableTiming cudaEventDisableTiming
#define hipEventInterprocess cudaEventInterprocess
#define hipEventDisableSystemRelease cudaEventDefault /* no-op on CUDA platform */
#define hipHostMallocDefault cudaHostAllocDefault
#define hipHostMallocPortable cudaHostAllocPortable