I think, based on the error I'm seeing here, your build is creating tmp
files in the container, which are deleted after DDNMark is built and the
docker container is discarded. These are, for some reason, needed in the
run and cannot be found. Did you follow the README here for DNNMark and
follow it exactly?
https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/gpu/DNNMark/.
I admit building and running the GPU code can be tricky as we're heavily
dependent on the docker images and things can easily go wrong.

Matt or Kyle: do either of you have any idea what's going wrong here?

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Mar 2, 2022 at 4:46 PM David Fong via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
>
>
> I built gem5 + DGPU (GCN3) (gfx900) and ran DNNMark with this command-line
>
>
>
> [gem5-resources]  docker run --rm -v ${PWD}:${PWD}
> -v${PWD}/cachefiles:/root/.cache/miopen/2.9.0 -w ${PWD}
> gcr.io/gem5-test/gcn-gpu:v21-2 python3 generate_cachefiles.py
> cachefiles.csv --gfx-version=gfx900 --num-cus=4
>
>
>
> [gem5-gpu-dnn] docker run --rm -v ${PWD}:${PWD} -v
> ${PWD}/gem5/gem5-resources/src/gpu/DNNMark/cachefiles:/root/.cache/miopen/2.9.0
> -w ${PWD} gcr.io/gem5-test/gcn-gpu:v21-2 gem5/build/GCN3_X86/gem5.opt
> gem5/configs/example/apu_se.py --dgpu --gfx-version=gfx900 -n3
> --benchmark-root=gem5/gem5-resources/src/gpu/DNNMark/build/benchmarks/test_fwd_softmax
> -cdnnmark_test_fwd_softmax --options="-config
> gem5/gem5-resources/src/gpu/DNNMark/config_example/softmax_config.dnnmark
> -mmap gem5/gem5-resources/src/gpu/DNNMark/mmap.bin"
>
>
>
> and got this error message :
>
>
>
> build/GCN3_X86/sim/syscall_emul.cc:683: warn: fcntl: unsupported command 6
>
> build/GCN3_X86/sim/mem_state.cc:443: info: Increasing stack size by one
> page.
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mprotect(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mprotect(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mprotect(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mprotect(...)
>
> sh: 1: Cannot fork
>
> MIOpen Error: /root/driver/MLOpen/src/hipoc/hipoc_program.cpp:195: Cant
> find file:
> /tmp/miopen-MIOpenSoftmax.cl-9c04-5b2f-4076-0450/MIOpenSoftmax.cl.o
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mbind(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mbind(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mbind(...)
>
> build/GCN3_X86/sim/syscall_emul.cc:74: warn: ignoring syscall mbind(...)
>
> MIOpen Error: 7 at
> /home/dfong/work/ext_ips/gem5-gpu-dnn/gem5/gem5-resources/src/gpu/DNNMark/core/include/dnn_wrapper.h485Ticks:
> 571357584000
>
> Exiting because  exiting with last active thread context
>
>
>
> Am I missing a step in compilation process or some other settings ?
>
>
>
> Thanks,
>
>
>
> David
>
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to