Hi Bobby, Thanks for your reply. I tried to rebuild in new directory and rerun same steps. Same results with error.
In your regression testing, did you run with the --dgpu” and --gfx-version=gfx900” options? Maybe --dgpu” requires some other code or options? The default flow with APU (no --dgpu, --gfx_version=gfx801) can run DNNMark with no problem. David From: Bobby Bruce <bbr...@ucdavis.edu> Sent: Thursday, March 3, 2022 6:43 PM To: gem5 users mailing list <gem5-users@gem5.org>; Matt Sinclair <sincl...@cs.wisc.edu>; Kyle Roarty <kroa...@wisc.edu> Cc: David Fong <da...@chronostech.com> Subject: Re: [gem5-users] gem5 + DGPU (GCN3) build error 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/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5-2Dresources_-2B_refs_heads_stable_src_gpu_DNNMark_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=aBkzz8UWgg6cGJOqO3QnvVOSrQN0fZg7T_jM-f-YQSc&s=waZIPhDvJYcIbOYvZAGH0pL63ezFEBPqm8wLIJL4QUE&e=>. 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.bobbybruce.net&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=aBkzz8UWgg6cGJOqO3QnvVOSrQN0fZg7T_jM-f-YQSc&s=ngqE4VS5UTHp_iDKaeA2UgAEOCTJVvsm3o1CfZqeurA&e=> On Wed, Mar 2, 2022 at 4:46 PM David Fong via gem5-users <gem5-users@gem5.org<mailto: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<https://urldefense.proofpoint.com/v2/url?u=http-3A__gcr.io_gem5-2Dtest_gcn-2Dgpu-3Av21-2D2&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=aBkzz8UWgg6cGJOqO3QnvVOSrQN0fZg7T_jM-f-YQSc&s=-kc-QcX1EFLM1qzhO2OMnmlH1P1Vx_l9s786ttKmXBY&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__gcr.io_gem5-2Dtest_gcn-2Dgpu-3Av21-2D2&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=aBkzz8UWgg6cGJOqO3QnvVOSrQN0fZg7T_jM-f-YQSc&s=-kc-QcX1EFLM1qzhO2OMnmlH1P1Vx_l9s786ttKmXBY&e=> 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<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto: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