[Openmp-dev] Libomptarget message: explicit extension not allowed

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue Sep 29 01:25:22 PDT 2020


Hi,

What does this message really mean?

Libomptarget message: explicit extension not allowed: host address
specified is 0x0000000089ee2ed0 (800 bytes), but device allocation
maps to host at 0x0000000089ee30f0 (800 bytes)

I do insert pragmas like below in the real code:

nest::RingBuffer::RingBuffer()
  : buffer_( kernel().connection_manager.get_min_delay() +
kernel().connection_manager.get_max_delay(), 0.0 )
{
  buffer_1 = new double[buffer_.size()];
  for (int i=0;i<buffer_.size();i++) {
          buffer_1[i] = 0;
  }
#pragma omp target enter data map(to: this[0:1])
#pragma omp target enter data map(to: buffer_1[0:100])
}


More information about the Openmp-dev mailing list