On Tue, 18 Dec 2018 13:47:34 +0100
Jakub Jelinek wrote:
> On Thu, Dec 13, 2018 at 03:44:25PM +, Julian Brown wrote:
> > +static tree
> > +convert_to_firstprivate_int (tree var, gimple_seq *gs)
> > +{
> > + tree type = TREE_TYPE (var), new_type = NULL_TREE;
> > + tree tmp = NULL_TREE;
> > +
On Thu, Dec 13, 2018 at 03:44:25PM +, Julian Brown wrote:
> +static tree
> +convert_to_firstprivate_int (tree var, gimple_seq *gs)
> +{
> + tree type = TREE_TYPE (var), new_type = NULL_TREE;
> + tree tmp = NULL_TREE;
> +
> + if (omp_is_reference (var))
> +type = TREE_TYPE (type);
> +
> +
On Fri, 7 Dec 2018 15:05:46 +0100
Jakub Jelinek wrote:
> On Thu, Dec 06, 2018 at 10:40:41PM +, Julian Brown wrote:
> > + && (TREE_CODE (inner_type) == REAL_TYPE
> > + || (!omp_is_reference (var)
> > + && INTEGRAL_TYPE_P (inner_type))
> > +
On Thu, Dec 06, 2018 at 10:40:41PM +, Julian Brown wrote:
> + && (TREE_CODE (inner_type) == REAL_TYPE
> + || (!omp_is_reference (var)
> + && INTEGRAL_TYPE_P (inner_type))
> + || TREE_CODE (inner_type) == INTEGER_TYPE)
Not sure I u
On Tue, 4 Dec 2018 15:27:12 +0100
Jakub Jelinek wrote:
> On Thu, Sep 20, 2018 at 07:38:04PM -0400, Julian Brown wrote:
> > 2018-09-20 Cesar Philippidis
> > Julian Brown
> >
> > gcc/
> > * omp-low.c (maybe_lookup_field_in_outer_ctx): New function.
> > (convert_to_firs
On Thu, Sep 20, 2018 at 07:38:04PM -0400, Julian Brown wrote:
> 2018-09-20 Cesar Philippidis
> Julian Brown
>
> gcc/
> * omp-low.c (maybe_lookup_field_in_outer_ctx): New function.
> (convert_to_firstprivate_int): New function.
> (convert_from_firstprivate_i
This patch (by Cesar) changes the way that mapping of firstprivate
scalars works for OpenACC. For scalars whose type has a size equal to or
smaller than the size of a pointer, rather than copying the value of
the scalar to the target device and having a separate mapping for a
pointer to the copied