Mentions légales du service

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

Fix uninitialized (to nullptr) gp_funcs_ pointer leading to partial failure of...

Fix uninitialized (to nullptr) gp_funcs_ pointer leading to partial failure of gpu_mod library loading of functions.
parent e0b0f6b0
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ namespace Faust { ...@@ -7,7 +7,7 @@ namespace Faust {
GPUModHandler* GPUModHandler::singleton = nullptr; GPUModHandler* GPUModHandler::singleton = nullptr;
GPUModHandler::GPUModHandler() : gm_handle(nullptr), marr_funcs_double(nullptr), marr_funcs_float(nullptr), marr_funcs_cuComplex(nullptr), marr_funcs_cuDoubleComplex(nullptr), dsm_funcs_double(nullptr), dsm_funcs_float(nullptr), dsm_funcs_cuComplex(nullptr), dsm_funcs_cuDoubleComplex(nullptr), spm_funcs_double(nullptr), spm_funcs_float(nullptr), spm_funcs_cuComplex(nullptr), spm_funcs_cuDoubleComplex(nullptr) GPUModHandler::GPUModHandler() : gm_handle(nullptr), marr_funcs_double(nullptr), marr_funcs_float(nullptr), marr_funcs_cuComplex(nullptr), marr_funcs_cuDoubleComplex(nullptr), dsm_funcs_double(nullptr), dsm_funcs_float(nullptr), dsm_funcs_cuComplex(nullptr), dsm_funcs_cuDoubleComplex(nullptr), spm_funcs_double(nullptr), spm_funcs_float(nullptr), spm_funcs_cuComplex(nullptr), spm_funcs_cuDoubleComplex(nullptr), gp_funcs_(nullptr)
{ {
// class is only instatiatable with get_singleton (private ctor) // class is only instatiatable with get_singleton (private ctor)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment