https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84020

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Thu Apr 26 13:27:04 2018
New Revision: 259678

URL: https://gcc.gnu.org/viewcvs?rev=259678&root=gcc&view=rev
Log:
[nvptx, libgomp] Add GOMP_NVPTX_JIT=-O[0-4] in nvptx libgomp plugin

2018-04-26  Tom de Vries  <t...@codesourcery.com>

        PR libgomp/84020
        * plugin/cuda/cuda.h (CUjit_option): Add CU_JIT_OPTIMIZATION_LEVEL.
        * plugin/plugin-nvptx.c (_GNU_SOURCE): Define.
        (process_GOMP_NVPTX_JIT): New function.
        (link_ptx): Use process_GOMP_NVPTX_JIT.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/plugin/cuda/cuda.h
    trunk/libgomp/plugin/plugin-nvptx.c

Reply via email to