gem5-dev@gem5.org

The gem5 Developer List

View all threads

how to use gfx900 in gpu-fs

XL
Xiang Li
Wed, Apr 12, 2023 6:54 AM

Hi, I'm trying to run gpu-fs. I saw a file in gem5-resouces, which saiddocker run --rm -v ${PWD}:${PWD} -w ${PWD} gcr.io/gem5-test/gpu-fs:latest bash -c 'make clean; HCC_AMDGPU_TARGET=gfx900 make'
but when I try to run the square, it saids it's using vega 10 XTX. How can I use the gfx900 to run my own application? Thanks a lot.

Hi, I'm trying to run gpu-fs. I saw a file in gem5-resouces, which said`docker run --rm -v ${PWD}:${PWD} -w ${PWD} gcr.io/gem5-test/gpu-fs:latest bash -c 'make clean; HCC_AMDGPU_TARGET=gfx900 make'` but when I try to run the square, it saids it's using vega 10 XTX. How can I use the gfx900 to run my own application? Thanks a lot.
SM
Sinclair, Matthew
Wed, Apr 12, 2023 4:21 PM

[AMD Official Use Only - General]

Hi Xiang,

What is the concern with the Vega 10?  Is it failing when you run the gfx900 code?

Setting that aside, Matt P (CC'd) will have to confirm for GPUFS but I believe if you specify -gfx-version=gfx900 on the command for both GPUSE and GPUFS it should run gfx900 code.

Thanks,
Matt S.

From: Xiang Li via gem5-dev gem5-dev@gem5.org
Sent: Wednesday, April 12, 2023 1:54 AM
To: gem5-dev@gem5.org
Cc: Xiang Li dreamerliii98@163.com
Subject: [gem5-dev] how to use gfx900 in gpu-fs

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Hi, I'm trying to run gpu-fs. I saw a file in gem5-resouces, which saiddocker run --rm -v ${PWD}:${PWD} -w ${PWD} gcr.io/gem5-test/gpu-fs:latest bash -c 'make clean; HCC_AMDGPU_TARGET=gfx900 make'
but when I try to run the square, it saids it's using vega 10 XTX. How can I use the gfx900 to run my own application? Thanks a lot.

[AMD Official Use Only - General] Hi Xiang, What is the concern with the Vega 10? Is it failing when you run the gfx900 code? Setting that aside, Matt P (CC'd) will have to confirm for GPUFS but I believe if you specify -gfx-version=gfx900 on the command for both GPUSE and GPUFS it should run gfx900 code. Thanks, Matt S. From: Xiang Li via gem5-dev <gem5-dev@gem5.org> Sent: Wednesday, April 12, 2023 1:54 AM To: gem5-dev@gem5.org Cc: Xiang Li <dreamerliii98@163.com> Subject: [gem5-dev] how to use gfx900 in gpu-fs Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hi, I'm trying to run gpu-fs. I saw a file in gem5-resouces, which said`docker run --rm -v ${PWD}:${PWD} -w ${PWD} gcr.io/gem5-test/gpu-fs:latest bash -c 'make clean; HCC_AMDGPU_TARGET=gfx900 make'` but when I try to run the square, it saids it's using vega 10 XTX. How can I use the gfx900 to run my own application? Thanks a lot.