Add deprecated information for threadfence() and threadfence_system() function.
Change-Id: I71793e9f48523776a87c91f3ed1eef7b9a9da88b
[ROCm/hip commit: 1f2607153f]
This commit is contained in:
@@ -531,7 +531,7 @@ __device__ void __threadfence_block(void);
|
||||
*
|
||||
* @warning __threadfence is a stub and map to no-op, application should set "export HSA_DISABLE_CACHE=1" to disable both L1 and L2 caches.
|
||||
*/
|
||||
__device__ void __threadfence(void);
|
||||
__device__ void __threadfence(void) __attribute__((deprecated("Provided for compile-time compatibility, not yet functional")));
|
||||
|
||||
/**
|
||||
* @brief threadfence_system makes writes to pinned system memory visible on host CPU.
|
||||
@@ -542,7 +542,7 @@ __device__ void __threadfence(void);
|
||||
*
|
||||
* @warning __threadfence_system is a stub and map to no-op, application should set "export HSA_DISABLE_CACHE=1" to disable both L1 and L2 caches.
|
||||
*/
|
||||
__device__ void __threadfence_system(void);
|
||||
__device__ void __threadfence_system(void) __attribute__((deprecated("Provided for compile-time compatibility, not yet functional")));
|
||||
|
||||
|
||||
// doxygen end Memory Fence
|
||||
|
||||
Reference in New Issue
Block a user