GCC Middle and Back End API Reference
omp-offload.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int oacc_get_default_dim (int dim)
 
int oacc_get_min_dim (int dim)
 
int oacc_fn_attrib_level (tree attr)
 
void omp_finish_file (void)
 
void omp_discover_implicit_declare_target (void)
 

Variables

vec< tree, va_gc > * offload_funcs
 
vec< tree, va_gc > * offload_vars
 
vec< tree, va_gc > * offload_ind_funcs
 

Function Documentation

◆ oacc_fn_attrib_level()

int oacc_fn_attrib_level ( tree attr)
extern
Return level at which oacc routine may spawn a partitioned loop, or
-1 if it is not a routine (i.e. is an offload fn).   

References ggc_alloc(), integer_zerop(), TREE_CHAIN, TREE_PURPOSE, and TREE_VALUE.

Referenced by execute_oacc_loop_designation(), new_oacc_loop_routine(), and omp_sese_active_worker_call().

◆ oacc_get_default_dim()

int oacc_get_default_dim ( int dim)
extern
Bits of OpenMP and OpenACC handling that is specific to device offloading
   and a lowering pass for OpenACC device directives.

   Copyright (C) 2005-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

References gcc_assert, ggc_alloc(), and oacc_default_dims.

◆ oacc_get_min_dim()

int oacc_get_min_dim ( int dim)
extern

◆ omp_discover_implicit_declare_target()

◆ omp_finish_file()

Variable Documentation

◆ offload_funcs

◆ offload_ind_funcs

◆ offload_vars