diff --git a/libc/docs/gpu_mode.rst b/libc/docs/gpu_mode.rst index 1f34f7555d312..b95dba3184cfd 100644 --- a/libc/docs/gpu_mode.rst +++ b/libc/docs/gpu_mode.rst @@ -90,6 +90,7 @@ Because the device code is stored inside a fat binary, it can be difficult to inspect the resulting code. This can be done using the following utilities: .. code-block:: sh + $> llvm-ar x libcgpu.a strcmp.cpp.o $> clang-offload-packager strcmp.cpp.o --image=arch=gfx90a,file=gfx90a.bc $> opt -S out.bc