Thank you for the update patch. I am now running into the following error when i execute the HelloWorld program built with the ROCm stack instead of the gpu-hello mentioned before.
sysconf(NPROCESSORS_CONF) failed. : No such file or directory request to allocate mask for invalid number; abort : No such file or directory This is preceded by a large number of warnings of the nature of "warn: ignoring syscall mprotect(...)" and "warn: ignoring syscall access(...)". The Helloworld program is the one provided in https://rocm.github.io/ROCmInstall.html and it runs successfully on a Vega machine. It was built with the following command. g++ -I /opt/rocm/opencl/include/ ./HelloWorld.cpp -o HelloWorld -L/opt/rocm/opencl/lib/x86_64 -lOpenCL" I will really appreciate any suggestions from your side on an alternative way of building it to avoid the above mentioned error while running it on GCN3_X86/gem5.opt using apu_se.py. Thanks again, Sanchari On Thu, Jun 28, 2018 at 8:46 AM Sanchari Sen <[email protected]> wrote: > Thank you for the clarification. Commenting out line 249 in apu_se.py > allows me to avoid the above error but as you pointed out, its not really > helpful as I need a separate binary altogether. > > Sanchari > > On Wed, Jun 27, 2018 at 5:24 PM Sanchari Sen <[email protected]> wrote: > >> Hi Tony and Tuan, >> >> I have cloned the agutierr/master-gcn3-staging branch of gem5 available >> on "https://gem5.googlesource.com/amd/gem5/" and have built >> GCN3_X86/gem5.opt using the default GCN3_X86 file in build_opts folder. I >> am trying to run gpu-hello program on it using the following command >> >> "./build/GCN3_X86/gem5.opt configs/example/apu_se.py -c >> tests/test-progs/gpu-hello/bin/x86/linux/gpu-hello" >> >> The gpu-hello binary is the default binary present in the branch. I get >> the following error on running the above command. >> >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "gem5/src/python/m5/main.py", line 435, in main >> exec filecode in scope >> File "configs/example/apu_se.py", line 249, in <module> >> shader.impl_kern_boundary_sync = True >> File "gem5/src/python/m5/SimObject.py", line 1175, in __setattr__ >> % (self.__class__.__name__, attr) >> AttributeError: Class Shader has no parameter impl_kern_boundary_sync >> >> I would really appreciate any help from you on this. >> >> Thanks in advance, >> Sanchari >> >> >> > > -- > Sanchari Sen > Graduate Student > Department of Electrical and Computer Engineering > Purdue University > -- Sanchari Sen Graduate Student Department of Electrical and Computer Engineering Purdue University _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
