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.


[ROCm/clr commit: 6576201ec2]
This commit is contained in:
Ben Sander
2017-07-26 18:40:37 -05:00
orang tua 7fab0b5ecc
melakukan 235b60165f
7 mengubah file dengan 96 tambahan dan 44 penghapusan
@@ -180,6 +180,7 @@ hipError_t hipDeviceReset(void)
return ihipLogStatus(hipSuccess);
}
hipError_t ihipDeviceSetState(void)
{
hipError_t e = hipErrorInvalidContext;