From 3841dc420652c8909fef3459cf23e5303727f59a Mon Sep 17 00:00:00 2001
From: Jan Siwiec <jan.siwiec@vsb.cz>
Date: Tue, 17 Jan 2023 07:26:42 +0100
Subject: [PATCH] Update nvidia-hip.md

---
 docs.it4i/software/nvidia-hip.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs.it4i/software/nvidia-hip.md b/docs.it4i/software/nvidia-hip.md
index 1b56874d0..c83584418 100644
--- a/docs.it4i/software/nvidia-hip.md
+++ b/docs.it4i/software/nvidia-hip.md
@@ -29,7 +29,7 @@ singularity  shell  /home/vic0092/rocm/centos7-nvidia-rocm.sif
 The above gives you Singularity / apptainer shell prompt:
 
 ```console
-Singularity> 
+Singularity>
 ```
 
 Verify that you have GPUs active and accessible on the given node:
@@ -111,7 +111,7 @@ In this section, we show a basic code example. You can directly copy and paste t
 }
 
 
-/* 
+/*
  * Square each element in the array A and write to array C.
  */
 template <typename T>
@@ -144,9 +144,9 @@ int main(int argc, char *argv[])
     C_h = (float*)malloc(Nbytes);
     CHECK(C_h == 0 ? cudaErrorMemoryAllocation : cudaSuccess );
     // Fill with Phi + i
-    for (size_t i=0; i<N; i++) 
+    for (size_t i=0; i<N; i++)
     {
-        A_h[i] = 1.618f + i; 
+        A_h[i] = 1.618f + i;
     }
 
     printf ("info: allocate device mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);
-- 
GitLab