Hi,

I am trying to run a simple square kernel in gem5-gpu. I installed
necessary RCOm components and checkout out the agutierr/master-gcn3-staging
branch in gem5. Everything else seems to be working but I get below error
when running the benchmarks.

warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall set_robust_list(...)
warn: ignoring syscall rt_sigaction(...)
      (further warnings will be suppressed)
warn: ignoring syscall rt_sigprocmask(...)
      (further warnings will be suppressed)
warn: ignoring syscall get_mempolicy(...)
warn: ignoring syscall sched_getaffinity(...)
sysconf(NPROCESSORS_CONF) failed.
: No such file or directory
request to allocate mask for invalid number; abort
: No such file or directory
Ticks: 5839744500
Exiting because  exiting with last active thread context

My apu_se.py environment variables looks like this,

448 else:
449     env = ['LD_LIBRARY_PATH=%s' % ':'.join([
450                os.getenv('ROCM_PATH','/opt/rocm')+'/lib',
451                os.getenv('HCC_HOME','/opt/rocm/hcc')+'/lib',
452                os.getenv('HSA_PATH','/opt/rocm/hsa')+'/lib',
453                os.getenv('HIP_PATH','/opt/rocm/hip')+'/lib',
454                os.getenv('ROCM_PATH','/opt/rocm')+'/libhsakmt/lib',
455                os.getenv('ROCM_PATH','/opt/rocm')+'/miopen/lib',
456                os.getenv('ROCM_PATH','/opt/rocm')+'/miopengemm/lib',
457                os.getenv('ROCM_PATH','/opt/rocm')+'/hipblas/lib',
458                os.getenv('ROCM_PATH','/opt/rocm')+'/rocblas/lib',
459                "/usr/lib/x86_64-linux-gnu"
460            ]),
461            'HOME=%s' % os.getenv('HOME','/'),
462            "HSA_ENABLE_INTERRUPT=0"]

-  Any pointers to fix this issue?
- I have some printf s in my host code. But they do not seems to work. Any
suggestions for printf s to work?

Thanks,
Charitha
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to