[pyfr] 86/88: Add kernel coeffients to floats for MIC.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Nov 16 12:05:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pyfr.

commit d5d282585c59f00c0e81f4dba967ebe693666bac
Author: Niki Loppi <nal15 at imperial.ac.uk>
Date:   Fri Sep 30 17:25:55 2016 +0100

    Add kernel coeffients to floats for MIC.
---
 AUTHORS                      | 1 +
 README.rst                   | 3 ---
 pyfr/backends/mic/blasext.py | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 1898af5..850e917 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,6 +1,7 @@
 Harry Davis <h.davis13 at imperial.ac.uk>
 Antony Farrington <antony.farrington07 at imperial.ac.uk>
 Arvind Iyer <a.iyer at imperial.ac.uk>
+Niki Loppi <n.loppi15 at imperial.ac.uk>
 George Ntemos <george.ntemos11 at imperial.ac.uk>
 Jin Seok Park <jin-seok.park at imperial.ac.uk>
 Brian Vermeire <b.vermeire at imperial.ac.uk>
diff --git a/README.rst b/README.rst
index 9b9caee..7388241 100644
--- a/README.rst
+++ b/README.rst
@@ -12,9 +12,6 @@ containing various element types. It is also designed to target a range
 of hardware platforms via use of an in-built domain specific language
 derived from the Mako templating engine.
 
-PyFR is being developed in the `Vincent Lab <https://www.imperial.ac.uk/aeronautics/research/vincentlab/>`_,
-Department of Aeronautics, Imperial College London, UK.
-
 Authors
 -------
 
diff --git a/pyfr/backends/mic/blasext.py b/pyfr/backends/mic/blasext.py
index 867a7e1..23a9cf5 100644
--- a/pyfr/backends/mic/blasext.py
+++ b/pyfr/backends/mic/blasext.py
@@ -26,7 +26,7 @@ class MICBlasExtKernels(MICKernelProvider):
 
         class AxnpbyKernel(ComputeKernel):
             def run(self, queue, *consts):
-                args = [x.data for x in arr] + list(consts)
+                args = [x.data for x in arr] + [float(c) for c in consts]
                 queue.mic_stream_comp.invoke(kern, nrow, ncolb, ldim, *args)
 
         return AxnpbyKernel()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git



More information about the debian-science-commits mailing list