Kyle, can you please help with this?  I don't recall when we last tested
bwd_act.

Matt

On Fri, Feb 11, 2022 at 2:18 AM 1575883782 via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
> I was trying to run DNNMark benchmark with its GCN3 GPU model following the 
> instructions
> on http://resources.gem5.org/resources/dnn-mark 
> <https://www.gem5.org/documentation/general_docs/gpu_models/GCN3>.
>
> I succeed running fwd_softmax, but when I run other layers, I met some 
> problems. For example, "bwd_activation".
>
>
> I tried to run gem5 DNNMark bwd_activation bechmark in 2 computers.
>
>
> First computer has 32G Mem size. Gem5 could run fwd_softmax successfully, but 
> always was killed while running bwd_activation. The error message was 
> "Killed" + process id. No other messages. I guess it's as this computer's mem 
> size is not enough to run it.
>
>
> Second computer has 256G Mem size. Gem5 could run fwd_softmax successfully. 
> But some problems happened while running bwd_activation. I solved some, but 
> have not solved all. Error messages are:
>
>
> > I0909 01:46:50.680040   100 dnn_wrapper.h:341] enter 
> > dnnmarkActivationBackward func
> > build/GCN3_X86/sim/mem_pool.cc:110: warn: Reached m5ops MMIO region
> > build/GCN3_X86/sim/mem_pool.cc:110: warn: Reached m5ops MMIO region
> > build/GCN3_X86/sim/mem_pool.cc:110: warn: Reached m5ops MMIO region
> > build/GCN3_X86/sim/mem_pool.cc:110: warn: Reached m5ops MMIO region
> > build/GCN3_X86/arch/x86/faults.cc:170: panic: Tried to read unmapped 
> > address 0.
> > PC: 0x7fffeef84b80, Instr:   FMUL2_M : ldfp87   %ufp1, DS:[rdx]
> > Memory Usage: 46436124 KBytes
> > Program aborted at tick 10680071080500
> >
>
>
> sometimes, error are:
>
> > panic: Tried to write unmapped address 0x2b95d881.
>
> or
>
> > panic: Tried to write unmapped address 0x3.
>
>
> According to my log, I found the problem happended on 
> "dnnmarkActivationBackward" func.
>
> > LOG(INFO) << "enter dnnmarkActivationBackward func";
> > #ifdef AMD_MIOPEN
> >   MIOPEN_CALL(miopenActivationBackward(
> >               mode == COMPOSED ?
> >               handle.GetMIOpen(idx) : handle.GetMIOpen(),
> >               activation_desc.Get(),
> >               alpha,
> >               top_desc.Get(), y,
> >               top_desc.Get(), dy,
> >               bottom_desc.Get(), x,
> >               beta,
> >               bottom_desc.Get(), dx));
> > #endif
> >   LOG(INFO) << "exit dnnmarkActivationBackward func";
>
>
> It seems to be a miopen interface functions. I don't know how to solve it. 
> Someone could help me?
>
>
> PS:
>
> my gem5 version is v21-2, and docker image is v21-2.
>
> my run command is: build/GCN3_X86/gem5.opt --outdir=$outdir 
> configs/example/apu_se.py -n 10 --mem-size=8GB 
> --benchmark-root=$BenchmarkRoot/test_bwd_activation -c 
> dnnmark_test_bwd_activation --options="-config 
> "$ConfigRoot"/activation_config.dnnmark -mmap "$MMAPFile" -debuginfo 1"
>
> Both computers have no AMD GPU.
>
> _______________________________________________
> 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