Hi Niki,

I think min/max work. I tested my RoeM for all backend and it works well.

For OpenMP, these are defined in pyfr.backends.openmp.kernels.base.mako.

>From my understanding, min and max are built-in functions for CUDA and OpenCL.

Regards,

Jin Seok

Dr. Jin Seok Park PhD
Postdoctoral Researcher
Department of Aeronautics
Imperial College London
London, UK, SW7 2AZ

________________________________________
From: [email protected] [[email protected]] on 
behalf of Niki Loppi [[email protected]]
Sent: Wednesday, June 17, 2015 3:35 PM
To: [email protected]
Subject: [pyfrmailinglist] Min and max statements in Mako

Hi all,

I'm implementing a low Mach fix into the Roe Riemann solver and I'm
using min and max statements inside a mako macro. Jin Seok has also used
them in the RoeM implementation, however, they are not listed as allowed
functionalities in the PyFR developer guide. Does anyone know if they
work in all backends?

Thanks,
Niki

--
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to