Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2c3ef12b authored by hhakim's avatar hhakim
Browse files

Update c++ test of butterfly balanced factorization for GPU use.

parent 05feacb6
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,10 @@
#include "faust_TransformHelper.h"
#include "faust_butterfly.h"
#ifdef USE_GPU_MOD
#include "faust_gpu_mod_utils.h"
#endif
typedef @TEST_FPP@ FPP;
using namespace Faust;
......@@ -12,6 +16,10 @@ using namespace std;
int main(int argc, char** argv)
{
#ifdef USE_GPU_MOD
Faust::enable_gpu_mod();
#endif
int log2dim;
if(argc >= 2)
log2dim = std::atoi(argv[1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment