unsigned int return_value =
(unsigned int) kernargs->output_data.return_value;
+ /* Run destructors on the GPU. */
+ run (fini_array_kernel, kernargs);
+
unsigned int upper = (return_value & ~0xffff) >> 16;
if (upper == 0xcafe)
- printf ("Kernel exit value was never set\n");
+ {
+ printf ("Kernel exit value was never set\n");
+ return_value = 0xff;
+ }
else if (upper == 0xffff)
; /* Set by exit. */
else if (upper == 0)
bool combined_loop;
bool distribute;
bool target_firstprivatize_array_bases;
+ bool add_safelen1;
int defaultmap[4];
+ hash_map<tree, oacc_array_mapping_info> *decl_data_clause;
+};
+
+struct privatize_reduction
+{
+ tree ref_var, local_var;
};
static struct gimplify_ctx *gimplify_ctxp;