https://bugs.llvm.org/show_bug.cgi?id=46012
Ye Luo <xw111lu...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Ye Luo <xw111lu...@gmail.com> ---
git clone https://github.com/ye-luo/miniqmc.git
cd miniqmc/build
cmake -DCMAKE_CXX_COMPILER=clang++ -DENABLE_OFFLOAD=1 -DUSE_OBJECT_TARGET=ON ..
make -j15 check_spo
OMP_NUM_THREADS=1 ./bin/check_spo -n 1
Libomptarget fatal error 1: failure of target construct while offloading is
mandatory
Aborted (core dumped)
Libomptarget --> Entering data end region with 2 mappings
Libomptarget --> Entry 0: Base=0x0000000001465320, Begin=0x00007fff690b0710,
Size=8, Type=0x28
Libomptarget --> Entry 1: Base=0x00007fff690b0710, Begin=0x0000000001465320,
Size=15360, Type=0x18
Libomptarget --> Looking up mapping(HstPtrBegin=0x0000000001465320,
Size=15360)...
Libomptarget --> Mapping exists with HstPtrBegin=0x0000000001465320,
TgtPtrBegin=0x00007f793fe04e00, Size=15360, updated RefCount=1
Libomptarget --> There are 15360 bytes allocated at target address
0x00007f793fe04e00 - is last
Libomptarget --> Looking up mapping(HstPtrBegin=0x0000000001465320,
Size=15360)...
Libomptarget --> Deleting tgt data 0x00007f793fe04e00 of size 15360
Libomptarget --> Removing (forced) mapping with HstPtrBegin=0x0000000001465320,
TgtPtrBegin=0x00007f793fe04e00, Size=15360
Libomptarget --> Looking up mapping(HstPtrBegin=0x00007fff690b0710, Size=8)...
Libomptarget --> Mapping does not exist (ignored)
Libomptarget --> Looking up mapping(HstPtrBegin=0x00007fff690b0710, Size=8)...
Libomptarget --> Section to delete (hst addr 0x00007fff690b0710) does not exist
in the allocated memory
Libomptarget --> Deallocating data from device failed.
Entry 0 and 1 have Base and Begin interchanged. It looks suspicious.
The fix also make almost all the 1 mapping to 2 mappings.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs