Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 752cb38d authored by hhakim's avatar hhakim
Browse files

Fix ignored 'silent' option in gpu_mod loading and update to gpu_mod@835083e5...

Fix ignored 'silent' option in gpu_mod loading and update to gpu_mod@835083e5 (fixing a loading bug when cuda is not available).
parent 3a45a933
Branches
Tags 2.10.7
No related merge requests found
Pipeline #833818 skipped
Subproject commit 8a7a155f54d37605b381b8586b994dc4ceea45e9 Subproject commit 835083e58af7094947cd3e5afd47063ee365bc30
...@@ -57,7 +57,7 @@ namespace Faust { ...@@ -57,7 +57,7 @@ namespace Faust {
{ {
if(this->gm_handle == nullptr) if(this->gm_handle == nullptr)
if(gm_handle == nullptr) if(gm_handle == nullptr)
this->gm_handle = gm_load_lib(libpath.c_str()); this->gm_handle = gm_load_lib(libpath.c_str(), silent);
else else
this->gm_handle = gm_handle; this->gm_handle = gm_handle;
else else
......
...@@ -84,7 +84,7 @@ namespace Faust ...@@ -84,7 +84,7 @@ namespace Faust
}; };
// easy access wrapper for the Faust namespace // easy access wrapper for the Faust namespace
void* enable_gpu_mod(const char* libpath = "libgm.so", const bool silent=false); void* enable_gpu_mod(const char* libpath = "libgm.so", const bool silent=true);
void char2gm_Op(const char& c, gm_Op & op); void char2gm_Op(const char& c, gm_Op & op);
} }
#define load_all_mat_funcs(type) \ #define load_all_mat_funcs(type) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment