From 329487b6dc8c44c647591d9a34b961ec2ad092c1 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Mon, 16 Oct 2023 13:10:02 -0400 Subject: [PATCH] SWDEV-422771 - Adding new env HIP_LAUNCH_BLOCKING Change-Id: I7a38999db3670682fdcf3b82789675541f17b71a [ROCm/hip commit: 339b4547fa60b9d26ddd4443a2de0a16651ff800] --- projects/hip/docs/how_to_guides/debugging.md | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/docs/how_to_guides/debugging.md b/projects/hip/docs/how_to_guides/debugging.md index 25a833844f..2860740681 100644 --- a/projects/hip/docs/how_to_guides/debugging.md +++ b/projects/hip/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.