From 74fa586816d46168def2498978f52f1537ee7b21 Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Tue, 27 Jun 2023 11:19:36 +0200 Subject: [PATCH] Update amd.md --- docs.it4i/cs/amd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.it4i/cs/amd.md b/docs.it4i/cs/amd.md index b4d4b5f53..dda29f379 100644 --- a/docs.it4i/cs/amd.md +++ b/docs.it4i/cs/amd.md @@ -10,7 +10,7 @@ salloc -N 1 -c 64 -A PROJECT-ID -p p03-amd --gres=gpu:4 --time=08:00:00 where: - -N 1 means allocating one server, -- -c 64 means allocation 64 cores, +- -c 64 means allocation 64 cores, - -A is your project, - -p p03-amd is AMD partition, - --gres=gpu:4 means allcating all 4 GPUs of the node, @@ -234,7 +234,7 @@ int main() for(int i = 0; i < width; i++) printf("%6.3f ", h_x[i]); printf("\n"); - + float * h_y; hipHostMalloc(&h_y, height * sizeof(*h_y)); for(int i = 0; i < height; i++) -- GitLab