Is your feature request related to a problem? Please describe.
-
Our OpenACC solution does not provide a atan() function.
-
Our OpenACC does not currently allow use of the standard strcmp() in WHEN clauses and EXTEND blocks, but our drop-in replacement str_comp() works.
Describe the solution you'd like
-
We should define a wrapper function atan(x)=atan2(x,1.0) in mccode-r.c (#ifdef OPENACC only)
-
We should make a #define strcmp(…) str_comp(…)(#ifdef OPENACC only) that works both within the main generated TRACE function (where WHEN’s are evaluated) and double check / ensure a similar define is in place in any component TRACE function.
Is your feature request related to a problem? Please describe.
Our OpenACC solution does not provide a
atan()function.Our OpenACC does not currently allow use of the standard
strcmp()inWHENclauses andEXTENDblocks, but our drop-in replacementstr_comp()works.Describe the solution you'd like
We should define a wrapper function
atan(x)=atan2(x,1.0)inmccode-r.c(#ifdef OPENACConly)We should make a
#define strcmp(…) str_comp(…)(#ifdef OPENACConly) that works both within the main generatedTRACEfunction (whereWHEN’s are evaluated) and double check / ensure a similar define is in place in any componentTRACEfunction.