[libc-commits] [libc] 8896f21 - [NFC] Fix typo in libc/docs/gpu/using.rst

via libc-commits libc-commits at lists.llvm.org
Tue Jun 4 15:40:49 PDT 2024


Author: Joachim Meyer
Date: 2024-06-04T15:40:45-07:00
New Revision: 8896f21ca9e59f2de40f78bd7233a90d6cb62a77

URL: https://github.com/llvm/llvm-project/commit/8896f21ca9e59f2de40f78bd7233a90d6cb62a77
DIFF: https://github.com/llvm/llvm-project/commit/8896f21ca9e59f2de40f78bd7233a90d6cb62a77.diff

LOG: [NFC] Fix typo in libc/docs/gpu/using.rst

Added: 
    

Modified: 
    libc/docs/gpu/using.rst

Removed: 
    


################################################################################
diff  --git a/libc/docs/gpu/using.rst b/libc/docs/gpu/using.rst
index 1a9446eeb1130..d5ad4c7a0368d 100644
--- a/libc/docs/gpu/using.rst
+++ b/libc/docs/gpu/using.rst
@@ -41,7 +41,7 @@ they can be used directly.
 
 .. code-block:: sh
 
-  $> clang opnemp.c -fopenmp --offload-arch=gfx90a -lcgpu-amdgpu
+  $> clang openmp.c -fopenmp --offload-arch=gfx90a -lcgpu-amdgpu
   $> clang cuda.cu --offload-arch=sm_80 --offload-new-driver -fgpu-rdc -lcgpu-nvptx
   $> clang hip.hip --offload-arch=gfx940 --offload-new-driver -fgpu-rdc -lcgpu-amdgpu
 


        


More information about the libc-commits mailing list