Advertisement
ALTracer

amdocl64 clinfo cache assert debugging

Jun 26th, 2022
903
137 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (gdb) print cache_props_
  2. $11 = std::vector of length 13, capacity 13 = {
  3. {ProcessorIdLow = 0, CacheLevel = 1, CacheSize = 32, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 5, ui32 = {Data = 1, Instruction = 0, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {1, 0 <repeats 255 times>}},
  4. {ProcessorIdLow = 0, CacheLevel = 1, CacheSize = 64, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 4, CacheLatency = 1, CacheType = {Value = 6, ui32 = {Data = 0, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {1, 0 <repeats 255 times>}},
  5. {ProcessorIdLow = 0, CacheLevel = 2, CacheSize = 512, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 7, ui32 = {Data = 1, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {1, 0 <repeats 255 times>}},
  6.  
  7. {ProcessorIdLow = 0, CacheLevel = 3, CacheSize = 4096, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 16, CacheLatency = 1, CacheType = {Value = 7, ui32 = {Data = 1, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {1, 1, 1, 1, 0 <repeats 252 times>}},
  8.  
  9. {ProcessorIdLow = 1, CacheLevel = 1, CacheSize = 32, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 5, ui32 = {Data = 1, Instruction = 0, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 1, 0 <repeats 254 times>}},
  10. {ProcessorIdLow = 1, CacheLevel = 1, CacheSize = 64, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 4, CacheLatency = 1, CacheType = {Value = 6, ui32 = {Data = 0, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 1, 0 <repeats 254 times>}},
  11. {ProcessorIdLow = 1, CacheLevel = 2, CacheSize = 512, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 7, ui32 = {Data = 1, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 1, 0 <repeats 254 times>}},
  12.  
  13. {ProcessorIdLow = 2, CacheLevel = 1, CacheSize = 32, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 5, ui32 = {Data = 1, Instruction = 0, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 1, 0 <repeats 253 times>}},
  14. {ProcessorIdLow = 2, CacheLevel = 1, CacheSize = 64, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 4, CacheLatency = 1, CacheType = {Value = 6, ui32 = {Data = 0, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 1, 0 <repeats 253 times>}},
  15. {ProcessorIdLow = 2, CacheLevel = 2, CacheSize = 512, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 7, ui32 = {Data = 1, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 1, 0 <repeats 253 times>}},
  16.  
  17. {ProcessorIdLow = 3, CacheLevel = 1, CacheSize = 32, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 5, ui32 = {Data = 1, Instruction = 0, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 0, 1, 0 <repeats 252 times>}},
  18. {ProcessorIdLow = 3, CacheLevel = 1, CacheSize = 64, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 4, CacheLatency = 1, CacheType = {Value = 6, ui32 = {Data = 0, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 0, 1, 0 <repeats 252 times>}},
  19. {ProcessorIdLow = 3, CacheLevel = 2, CacheSize = 512, CacheLineSize = 64, CacheLinesPerTag = 1, CacheAssociativity = 8, CacheLatency = 1, CacheType = {Value = 7, ui32 = {Data = 1, Instruction = 1, CPU = 1, HSACU = 0, Reserved = 0}}, SiblingMap = {0, 0, 0, 1, 0 <repeats 252 times>}}
  20. }
  21. (gdb) bt
  22. #0  rocr::AMD::GpuAgent::InitCacheList (this=0x55555576ac40) at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_gpu_agent.cpp:446
  23. #1  0x00007fffdf0205ac in rocr::AMD::GpuAgent::GpuAgent (this=this@entry=0x55555576ac40, node=node@entry=0, node_props=..., xnack_mode=xnack_mode@entry=true, index=index@entry=0)
  24.     at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_gpu_agent.cpp:161
  25. #2  0x00007fffdf032334 in rocr::AMD::DiscoverGpu (node_id=0, node_prop=..., xnack_mode=<optimized out>) at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_topology.cpp:125
  26. #3  0x00007fffdf032b2f in rocr::AMD::SurfaceGpuList (xnack_mode=true, gpu_list=std::vector of length 1, capacity 1 = {...})
  27.     at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_topology.cpp:262
  28. #4  rocr::AMD::BuildTopology () at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_topology.cpp:350
  29. #5  0x00007fffdf032ede in rocr::AMD::Load () at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/amd_topology.cpp:377
  30. #6  0x00007fffdf051889 in rocr::core::Runtime::Load (this=0x555555769bd0) at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/runtime.cpp:1346
  31. #7  0x00007fffdf051a7c in rocr::core::Runtime::Acquire () at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/runtime.cpp:112
  32. #8  0x00007fffdf033f6a in rocr::HSA::hsa_init () at /var/tmp/portage/dev-libs/rocr-runtime-5.0.2/work/ROCR-Runtime-rocm-5.0.2/src/core/runtime/hsa.cpp:206
  33. #9  0x00007fffdf36beac in ?? () from /usr/lib64/libamdocl64.so
  34. #10 0x00007fffdf329b23 in ?? () from /usr/lib64/libamdocl64.so
  35. #11 0x00007fffdf35ca5e in ?? () from /usr/lib64/libamdocl64.so
  36. #12 0x00007fffdf301fd5 in ?? () from /usr/lib64/libamdocl64.so
  37. #13 0x00007ffff7def31a in __pthread_once_slow (once_control=0x7fffdf42d9e0, init_routine=0x7fffedcbe3a0 <__once_proxy>) at pthread_once.c:117
  38. #14 0x00007fffdf3030ab in clIcdGetPlatformIDsKHR () from /usr/lib64/libamdocl64.so
  39. #15 0x00007ffff7f6a3f4 in ?? () from /usr/lib64/libOpenCL.so.1
  40. #16 0x00007ffff7def31a in __pthread_once_slow (once_control=0x7ffff7f90740, init_routine=0x7ffff7f69fd0) at pthread_once.c:117
  41. #17 0x00007ffff7f695e3 in ?? () from /usr/lib64/libOpenCL.so.1
  42. #18 0x00007ffff7f6c384 in clGetPlatformIDs () from /usr/lib64/libOpenCL.so.1
  43. #19 0x000055555555b4b5 in ?? ()
  44. #20 0x00007ffff7d8a31a in __libc_start_call_main (main=main@entry=0x55555555b2f0, argc=argc@entry=1, argv=argv@entry=0x7fffffffe568) at ../sysdeps/nptl/libc_start_call_main.h:58
  45. #21 0x00007ffff7d8a3cc in __libc_start_main_impl (main=0x55555555b2f0, argc=1, argv=0x7fffffffe568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe558) at ../csu/libc-start.c:392
  46. #22 0x000055555555bb5a in ?? ()
Advertisement
RAW Paste Data Copied
Advertisement