Skip to content
Snippets Groups Projects
  • Tobias Burnus's avatar
    4cb20dc0
    libgomp: with USM, init 'link' variables with host address · 4cb20dc0
    Tobias Burnus authored
    If requires unified_shared_memory or self_maps is set, make
    'declare target link' variables to point initially to the host pointer.
    
    libgomp/ChangeLog:
    
    	* target.c (gomp_load_image_to_device): For requires
    	unified_shared_memory, update 'link' vars to point to the host var.
    	* testsuite/libgomp.c-c++-common/target-link-3.c: New test.
    	* testsuite/libgomp.c-c++-common/target-link-4.c: New test.
    4cb20dc0
    History
    libgomp: with USM, init 'link' variables with host address
    Tobias Burnus authored
    If requires unified_shared_memory or self_maps is set, make
    'declare target link' variables to point initially to the host pointer.
    
    libgomp/ChangeLog:
    
    	* target.c (gomp_load_image_to_device): For requires
    	unified_shared_memory, update 'link' vars to point to the host var.
    	* testsuite/libgomp.c-c++-common/target-link-3.c: New test.
    	* testsuite/libgomp.c-c++-common/target-link-4.c: New test.