HIP: Heterogenous-computing Interface for Portability
Functions | Variables
Fence Functions

Functions

 __attribute__ ((const)) __device__ void __hip_hc_threadfence() __asm("__llvm_fence_sc_dev")
 
__device__ void __threadfence_system (void)
 threadfence_system makes writes to pinned system memory visible on host CPU. More...
 

Variables

struct uchar3 __attribute__
 

Detailed Description

CUDA 8 device function features

Kernel launching


Warning
The HIP memory fence functions are currently not supported yet. If any of those threadfence stubs are reached by the application, you should set "export HSA_DISABLE_CACHE=1" to disable L1 and L2 caches.

On AMD platforms, the threadfence* routines are currently empty stubs.

Function Documentation

__device__ void __threadfence_system ( void  )

threadfence_system makes writes to pinned system memory visible on host CPU.

void

Parameters
void
Warning
__threadfence_system is a stub and map to no-op.