[nvptx, libgomp] Fix memleak in GOMP_OFFLOAD_fini_device
[gcc.git] / libgomp / ChangeLog
index 00210529a55e1769bef177d8adf85e2d8384e924..fb694020dcdde809f4dfab1040a9d9e7a589586e 100644 (file)
@@ -1,3 +1,43 @@
+2019-01-24  Tom de Vries  <tdevries@suse.de>
+
+       * plugin/plugin-nvptx.c (GOMP_OFFLOAD_fini_device): Free ptx_devices
+       once instantiated_devices drops to 0.
+
+2019-01-23  Tom de Vries  <tdevries@suse.de>
+
+       PR target/PR88946
+       * plugin/plugin-nvptx.c (cuda_map_destroy): Use CUDA_CALL_NOCHECK for
+       cuMemFree.
+       (nvptx_exec): Don't call map_push if mapnum == 0.
+       * testsuite/libgomp.oacc-c-c++-common/pr88946.c: New test.
+
+2019-01-23  Tom de Vries  <tdevries@suse.de>
+
+       PR target/88941
+       PR target/88939
+       * plugin/plugin-nvptx.c (cuda_map_destroy): Handle map->active case.
+       (map_fini): Remove "assert (!s->map->active)".
+       * testsuite/libgomp.oacc-c-c++-common/pr88941.c: New test.
+
+2019-01-23  Tom de Vries  <tdevries@suse.de>
+
+       PR target/87835
+       * plugin/plugin-nvptx.c (map_push): Fix adding of allocated element.
+       * testsuite/libgomp.oacc-c-c++-common/pr87835.c: New test.
+
+2019-01-15  Tom de Vries  <tdevries@suse.de>
+
+       PR target/80547
+       * testsuite/libgomp.oacc-c-c++-common/gang-reduction-var-assignment.c:
+       New test.
+
+2019-01-12  Tom de Vries  <tdevries@suse.de>
+
+       * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: New test.
+       * testsuite/libgomp.oacc-c-c++-common/vector-length-128-2.c: New test.
+       * testsuite/libgomp.oacc-c-c++-common/vector-length-128-5.c: New test.
+       * testsuite/libgomp.oacc-fortran/gemm-2.f90: New test.
+
 2019-01-12  Tom de Vries  <tdevries@suse.de>
 
        * plugin/plugin-nvptx.c (nvptx_exec): Update error message.