Mentions légales du service

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

Minor change in pyfaust GPU documentation.

Filtering check_dev from dev and add is_gpu_mod_enabled 'brief' doc.
parent f41a8148
No related branches found
No related tags found
No related merge requests found
Pipeline #833778 skipped
...@@ -520,7 +520,7 @@ EXCLUDE_SYMLINKS = NO ...@@ -520,7 +520,7 @@ EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = *faust_MatDense_gpu.h *faust_MatSparse_gpu.h expfiltered* EXCLUDE_PATTERNS = *faust_MatDense_gpu.h *faust_MatSparse_gpu.h expfiltered*
EXCLUDE_SYMBOLS = mtimes_trans subsasgn get_factor_nonopt reshape ABC ParamsPalm4MSAFGFT UpdateCholesky UpdateCholeskyFull UpdateCholeskySparse greed_omp_chol hierarchical_constends palm4msa_constends ConstraintGeneric ConstraintMat ConstraintReal ConstraintName ConstraintInt is_mat_consistent init_facts stop_crit ParamsPalm4MSAFGFT data_num_cols data_num_rows is_fact_side_left stop_crits constant_step_size constraints DISABLED_OPT EXTERNAL_OPT grad_calc_opt_mode init_lambda INTERNAL_OPT is_update_way_R2L is_verbose num_facts step_size IDX_IS_FACT_SIDE_LEFT OPT_ARG_NAMES2 OPT_ARG_NAMES DEFAULT_OPT IDX_USE_CSR IDX_NORM2_MAX_ITER IDX_NORM2_THRESHOLD IDX_GRAD_CALC_OPT_MODE IDX_VERBOSITY IDX_CONSTANT_STEP_SIZE IDX_STEP_SIZE IDX_INIT_LAMBDA IDX_IS_UPDATE_WAY_R2L set_FM_mul_mode set_Fv_mul_mode implements HANDLED_FUNCTIONS __array_ufunc__ __array__ __array_function__ asarray EXCLUDE_SYMBOLS = mtimes_trans subsasgn get_factor_nonopt reshape ABC ParamsPalm4MSAFGFT UpdateCholesky UpdateCholeskyFull UpdateCholeskySparse greed_omp_chol hierarchical_constends palm4msa_constends ConstraintGeneric ConstraintMat ConstraintReal ConstraintName ConstraintInt is_mat_consistent init_facts stop_crit ParamsPalm4MSAFGFT data_num_cols data_num_rows is_fact_side_left stop_crits constant_step_size constraints DISABLED_OPT EXTERNAL_OPT grad_calc_opt_mode init_lambda INTERNAL_OPT is_update_way_R2L is_verbose num_facts step_size IDX_IS_FACT_SIDE_LEFT OPT_ARG_NAMES2 OPT_ARG_NAMES DEFAULT_OPT IDX_USE_CSR IDX_NORM2_MAX_ITER IDX_NORM2_THRESHOLD IDX_GRAD_CALC_OPT_MODE IDX_VERBOSITY IDX_CONSTANT_STEP_SIZE IDX_STEP_SIZE IDX_INIT_LAMBDA IDX_IS_UPDATE_WAY_R2L set_FM_mul_mode set_Fv_mul_mode implements HANDLED_FUNCTIONS __array_ufunc__ __array__ __array_function__ asarray check_dev
# The EXAMPLE_PATH tag can be used to specify one or more files or # The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see # directories that contain example code fragments that are included (see
......
...@@ -2700,6 +2700,9 @@ def enable_gpu_mod(libpaths=None, backend='cuda', silent=False, fatal=False): ...@@ -2700,6 +2700,9 @@ def enable_gpu_mod(libpaths=None, backend='cuda', silent=False, fatal=False):
return _FaustCorePy.FaustCore.enable_gpu_mod(libpaths, backend, silent, fatal) return _FaustCorePy.FaustCore.enable_gpu_mod(libpaths, backend, silent, fatal)
def is_gpu_mod_enabled(): def is_gpu_mod_enabled():
"""
Returns True if the gpu_mod plug-in has been loaded correctly, false otherwise.
"""
return _FaustCorePy.FaustCore._is_gpu_mod_enabled() return _FaustCorePy.FaustCore._is_gpu_mod_enabled()
def check_dev(dev): def check_dev(dev):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment