-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
While working with DPCPP (https://github.com/intel/llvm) compiling SYCL kernels targeting ROCm (gfx908) I came across the gdb error. It is true that there are some issues with compiling the SYCL kernels. I am not familiar with gdb internals. Does the gdb error provide some hint/clue to the compiler issue ?
rocgdb ./main
Precision: float
Array size: 134.2 MB (=0.1 GB)
Total size: 402.7 MB (=0.4 GB)
Memory access fault by GPU node-2 (Agent handle: 0x532080) on address 0x7ffeb0019000. Reason: Page not present or supervisor privilege.
Thread 6 "main" received signal SIGSEGV, Segmentation fault.
[Switching to AMDGPU Thread 2:3:1:1 (130944,0,0)/0]
copy<float>(cl::sycl::queue&, cl::sycl::buffer<float, 1, cl::sycl::detail::aligned_allocator<char>, void>&, cl::sycl::buffer<float, 1, cl::sycl::detail::aligned_allocator<char>, void>&)::{lambda(cl::sycl::handler&)#1}::operator()(cl::sycl::handler&) const::{lambda(cl::sycl::nd_item<1>)#1}::operator()(cl::sycl::nd_item<1>) const (
/home/release/git/aomp13/ROCgdb/gdb/dwarf2/frame.c:1029: internal-error: Unknown CFA rule.
A problem internal to GDB has been detected,
further debugging may prove unreliable.