Commit f6f6880a authored by berenger-bramas's avatar berenger-bramas

Add conditional compilation if Blas is not enabled.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@452 2616d619-271b-44dc-8df4-d4a8f33a7222
parent c9fb5595
......@@ -8,9 +8,8 @@
// Owners: INRIA.
// Copyright © 2011-2012, spread under the terms and conditions of a proprietary license.
// ===================================================================================
// ==== CMAKE =====
// @FUSE_BLAS
// ================
#include "../Src/Utils/FGlobal.hpp"
#include "../Src/Containers/FOctree.hpp"
#include "../Src/Containers/FVector.hpp"
......@@ -201,6 +200,7 @@ class TestSphericalDirect : public FUTester<TestSphericalDirect> {
OctreeClass, FmmClass>(false);
}
#ifdef SCALFMM_USE_CBLAS
/** Blas */
void TestSphericalBlas(){
typedef IndexedParticle ParticleClass;
......@@ -234,6 +234,7 @@ class TestSphericalDirect : public FUTester<TestSphericalDirect> {
RunTest<ParticleClass, CellClass, ContainerClass, KernelClass, LeafClass,
OctreeClass, FmmClass>(true);
}
#endif
///////////////////////////////////////////////////////////
// Set the tests!
......@@ -243,8 +244,10 @@ class TestSphericalDirect : public FUTester<TestSphericalDirect> {
void SetTests(){
AddTest(&TestSphericalDirect::TestSpherical,"Test Spherical Kernel");
AddTest(&TestSphericalDirect::TestRotation,"Test Rotation Spherical Kernel");
#ifdef SCALFMM_USE_CBLAS
AddTest(&TestSphericalDirect::TestSphericalBlas,"Test Spherical Blas Kernel");
AddTest(&TestSphericalDirect::TestSphericalBlockBlas,"Test Spherical Block Blas Kernel");
#endif
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment