[arrayfire] 32/41: Disable clfftTeardown call for Windows

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 21 14:56:24 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.

commit 27c8bfbffdefd808b6d9867e1a91297f6fc0737d
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Wed Mar 16 14:08:44 2016 -0400

    Disable clfftTeardown call for Windows
---
 src/backend/opencl/fft.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/backend/opencl/fft.cpp b/src/backend/opencl/fft.cpp
index 7777887..b3cdfb5 100644
--- a/src/backend/opencl/fft.cpp
+++ b/src/backend/opencl/fft.cpp
@@ -47,11 +47,17 @@ class clFFTPlanner
         }
 
         ~clFFTPlanner() {
+            //TODO: FIXME:
+            // clfftTeardown() cause a "Pure Virtual Function Called" crash on
+            // Window only when Intel devices are called. This causes tests to
+            // fail.
+            #ifndef OS_WIN
             static bool flag = true;
             if(flag) {
                 CLFFT_CHECK(clfftTeardown());
                 flag = false;
             }
+            #endif
         }
 
     private:

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



More information about the debian-science-commits mailing list