gcc/libgomp/plugin
Chung-Lin Tang f9b9832837 libgomp: adjust nvptx_free callback context checking
Change test for CUDA callback context in nvptx_free() from using
GOMP_PLUGIN_acc_thread () into checking for CUDA_ERROR_NOT_PERMITTED,
for the former only works for OpenACC, but not OpenMP offloading.

2020-08-20  Chung-Lin Tang  <cltang@codesourcery.com>

	libgomp/
	* plugin/plugin-nvptx.c (nvptx_free):
	Change "GOMP_PLUGIN_acc_thread () == NULL" test into check of
	CUDA_ERROR_NOT_PERMITTED status for cuMemGetAddressRange. Adjust
	comments.
2020-08-20 07:18:51 -07:00
..
cuda
Makefrag.am Removal of HSA offloading from gcc and libgomp 2020-08-03 18:13:00 +02:00
configfrag.ac Removal of HSA offloading from gcc and libgomp 2020-08-03 18:13:00 +02:00
cuda-lib.def
plugin-gcn.c amdgcn: Switch to HSACO v3 binary format 2020-06-17 10:06:21 +01:00
plugin-nvptx.c libgomp: adjust nvptx_free callback context checking 2020-08-20 07:18:51 -07:00