Add description to disable deferred code object loading for AMD GPU
authorTony <Tony.Tye@amd.com>
Wed, 13 May 2020 23:11:05 +0000 (19:11 -0400)
committerLaurent Morichetti <laurent.morichetti@amd.com>
Fri, 15 May 2020 17:49:55 +0000 (10:49 -0700)
- The environent has been renamed to HIP_ENABLE_LAZY_KERNEL_LOADING
  and is now implemented.

Change-Id: I74d7ba76bfdb8d055eece7df0241642d8cd8103d

gdb/doc/gdb.texinfo

index 73fd874ab576b6bba824db265f9108880f04fa24..33c5eff900801445c4459eba0060f3a8dd8411b6 100644 (file)
@@ -26718,18 +26718,16 @@ default.  AMD GPU code objects are not loaded until the first kernel
 is launched.  Before then, all breakpoints have to be set as pending
 breakpoints using source line positions.
 
-@c TODO: Add control for deferred code object loading:
-@c
-@c The @code{HIP_DISABLE_LAZY_KERNEL_LOADING} environment variable can be
-@c used to disable deferred code object loading by the HIP runtime.  This
-@c allows breakpoints to be set in AMD GPU code as soon as the inferior
-@c reaches the @code{main} funtion.
-@c
-@c For example,
-@c
-@c @smallexample
-@c export HIP_DISABLE_LAZY_KERNEL_LOADING=1
-@c @end smallexample
+The @code{HIP_ENABLE_LAZY_KERNEL_LOADING} environment variable can be
+used to disable deferred code object loading by the HIP runtime.  This
+allows breakpoints to be set in AMD GPU code as soon as the inferior
+reaches the @code{main} funtion.
+
+For example,
+
+@smallexample
+export HIP_ENABLE_LAZY_KERNEL_LOADING=0
+@end smallexample
 
 @item
 Memory violations are reported to the wavefronts that cause them.
This page took 0.041162 seconds and 4 git commands to generate.