Guard against IPC signal use of when profiling copy APIs.

Also update IPC signal API text to allow single process profiling with IPC signals.

Change-Id: I90b246623129d57183acb4ba1789beec360547c3
Tá an tiomantas seo le fáil i:
Sean Keely
2018-01-30 18:59:44 -06:00
tuismitheoir 91f559802d
tiomantas f59b001c75
D'athraigh 3 comhad le 15 breiseanna agus 3 scriosta
+4 -2
Féach ar an gComhad
@@ -387,8 +387,10 @@ typedef enum {
HSA_AMD_SIGNAL_AMD_GPU_ONLY = 1,
/**
* Signal may be used for interprocess communication.
* This signal may not be used with profiling APIs. Errors or inaccurate
* timing data may result from such use.
* IPC signals can be read, written, and waited on from any process.
* Profiling using an IPC enabled signal is only supported in a single process
* at a time. Producing profiling data in one process and consuming it in
* another process is undefined.
*/
HSA_AMD_SIGNAL_IPC = 2,
} hsa_amd_signal_attribute_t;