diff --git a/docs/how_to_guides/debugging.md b/docs/how_to_guides/debugging.md index 25a833844f..2860740681 100644 --- a/docs/how_to_guides/debugging.md +++ b/docs/how_to_guides/debugging.md @@ -281,6 +281,7 @@ The following is the summary of the most useful environment variables in HIP. | HIP_HOST_COHERENT
Coherent memory in hipHostMalloc. | 0 | 0: memory is not coherent between host and GPU.
1: memory is coherent with host. | | AMD_DIRECT_DISPATCH
Enable direct kernel dispatch (Currently for Linux, under development on Windows). | 1 | 0: Disable.
1: Enable. | | GPU_MAX_HW_QUEUES
The maximum number of hardware queues allocated per device. | 4 | The variable controls how many independent hardware queues HIP runtime can create per process, per device. If application allocates more HIP streams than this number, then HIP runtime will reuse the same hardware queues for the new streams in round robin manner. Please note, this maximum number does not apply to either hardware queues that are created for CU masked HIP streams, or cooperative queue for HIP Cooperative Groups (there is only one single queue per device). | +| HIP_LAUNCH_BLOCKING
Used for serialization on kernel execution. | 0 | 0: Disable. Kernel executes normally.
1: Enable. Serializes kernel enqueue, behaves the same as AMD_SERIALIZE_KERNEL. | ## General Debugging Tips - 'gdb --args' can be used to conveniently pass the executable and arguments to gdb.