Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    21f3a236
    omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether... · 21f3a236
    Jakub Jelinek authored
    omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not.
    
    	* omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
    	regardless whether there are depend clauses or not.
    
    	* libgomp.h (struct gomp_target_task): Remove firstprivate_copies
    	field.
    	* target.c (gomp_target_fallback_firstprivate,
    	gomp_target_unshare_firstprivate): Removed.
    	(GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory
    	before waiting for dependencies.
    	(gomp_target_task_fn): Don't copy firstprivate vars here.
    	* task.c (GOMP_PLUGIN_target_task_completion): Don't free
    	firstprivate_copies here.
    	(gomp_create_target_task): Don't initialize firstprivate_copies field.
    	* testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of
    	explicit/implicit firstprivate.
    
    From-SVN: r234894
    21f3a236
    History
    omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether...
    Jakub Jelinek authored
    omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not.
    
    	* omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
    	regardless whether there are depend clauses or not.
    
    	* libgomp.h (struct gomp_target_task): Remove firstprivate_copies
    	field.
    	* target.c (gomp_target_fallback_firstprivate,
    	gomp_target_unshare_firstprivate): Removed.
    	(GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory
    	before waiting for dependencies.
    	(gomp_target_task_fn): Don't copy firstprivate vars here.
    	* task.c (GOMP_PLUGIN_target_task_completion): Don't free
    	firstprivate_copies here.
    	(gomp_create_target_task): Don't initialize firstprivate_copies field.
    	* testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of
    	explicit/implicit firstprivate.
    
    From-SVN: r234894