Make host memory allocations coherent by default.
Associated change is to optimize event recording so it uses agent-scope releaes (since it was only using system-scope release to support non-coherent host mem). Flags and environment variables exist to obtain previous behavior if desired. Options are documented in new performance guide.
This commit is contained in:
@@ -59,7 +59,7 @@ extern int HIP_STREAM_SIGNALS; /* number of signals to allocate at stream creat
|
||||
extern int HIP_VISIBLE_DEVICES; /* Contains a comma-separated sequence of GPU identifiers */
|
||||
extern int HIP_FORCE_P2P_HOST;
|
||||
|
||||
extern int HIP_COHERENT_HOST_ALLOC;
|
||||
extern int HIP_HOST_COHERENT;
|
||||
|
||||
extern int HIP_HIDDEN_FREE_MEM;
|
||||
//---
|
||||
|
||||
Reference in New Issue
Block a user