Skip to content
Snippets Groups Projects
Commit 678db2e5 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing NVCC compilation

parent 1640d4d0
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,12 @@
#ifndef HEAPMEMORY_UNIT_TESTS_HPP_
#define HEAPMEMORY_UNIT_TESTS_HPP_
#include "config.h"
#include "memory/HeapMemory.hpp"
#ifdef NVCC
#include "memory/CudaMemory.cuh"
#endif
BOOST_AUTO_TEST_SUITE( HeapMemory_test )
......@@ -79,7 +83,9 @@ template<typename T> void test()
BOOST_AUTO_TEST_CASE( use )
{
test<HeapMemory>();
#ifdef NVCC
test<CudaMemory>();
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment