cuBNM 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cuBNM-0.0.1/LICENSE +28 -0
- cuBNM-0.0.1/MANIFEST.in +4 -0
- cuBNM-0.0.1/PKG-INFO +80 -0
- cuBNM-0.0.1/README.md +25 -0
- cuBNM-0.0.1/include/gsl/gsl_blas.h +602 -0
- cuBNM-0.0.1/include/gsl/gsl_blas_types.h +54 -0
- cuBNM-0.0.1/include/gsl/gsl_block.h +24 -0
- cuBNM-0.0.1/include/gsl/gsl_block_char.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_complex_double.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_complex_float.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_complex_long_double.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_double.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_float.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_int.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_long.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_long_double.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_short.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_uchar.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_uint.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_ulong.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_block_ushort.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_bspline.h +108 -0
- cuBNM-0.0.1/include/gsl/gsl_bst.h +117 -0
- cuBNM-0.0.1/include/gsl/gsl_bst_avl.h +73 -0
- cuBNM-0.0.1/include/gsl/gsl_bst_rb.h +74 -0
- cuBNM-0.0.1/include/gsl/gsl_bst_types.h +48 -0
- cuBNM-0.0.1/include/gsl/gsl_cblas.h +606 -0
- cuBNM-0.0.1/include/gsl/gsl_cdf.h +170 -0
- cuBNM-0.0.1/include/gsl/gsl_chebyshev.h +134 -0
- cuBNM-0.0.1/include/gsl/gsl_check_range.h +57 -0
- cuBNM-0.0.1/include/gsl/gsl_combination.h +92 -0
- cuBNM-0.0.1/include/gsl/gsl_complex.h +144 -0
- cuBNM-0.0.1/include/gsl/gsl_complex_math.h +142 -0
- cuBNM-0.0.1/include/gsl/gsl_const.h +31 -0
- cuBNM-0.0.1/include/gsl/gsl_const_cgs.h +116 -0
- cuBNM-0.0.1/include/gsl/gsl_const_cgsm.h +122 -0
- cuBNM-0.0.1/include/gsl/gsl_const_mks.h +126 -0
- cuBNM-0.0.1/include/gsl/gsl_const_mksa.h +126 -0
- cuBNM-0.0.1/include/gsl/gsl_const_num.h +43 -0
- cuBNM-0.0.1/include/gsl/gsl_deriv.h +50 -0
- cuBNM-0.0.1/include/gsl/gsl_dft_complex.h +55 -0
- cuBNM-0.0.1/include/gsl/gsl_dft_complex_float.h +55 -0
- cuBNM-0.0.1/include/gsl/gsl_dht.h +89 -0
- cuBNM-0.0.1/include/gsl/gsl_diff.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_eigen.h +347 -0
- cuBNM-0.0.1/include/gsl/gsl_errno.h +154 -0
- cuBNM-0.0.1/include/gsl/gsl_fft.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_complex.h +136 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_complex_float.h +139 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_halfcomplex.h +86 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_halfcomplex_float.h +86 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_real.h +80 -0
- cuBNM-0.0.1/include/gsl/gsl_fft_real_float.h +79 -0
- cuBNM-0.0.1/include/gsl/gsl_filter.h +108 -0
- cuBNM-0.0.1/include/gsl/gsl_fit.h +85 -0
- cuBNM-0.0.1/include/gsl/gsl_heapsort.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_histogram.h +134 -0
- cuBNM-0.0.1/include/gsl/gsl_histogram2d.h +172 -0
- cuBNM-0.0.1/include/gsl/gsl_ieee_utils.h +99 -0
- cuBNM-0.0.1/include/gsl/gsl_inline.h +67 -0
- cuBNM-0.0.1/include/gsl/gsl_integration.h +390 -0
- cuBNM-0.0.1/include/gsl/gsl_interp.h +225 -0
- cuBNM-0.0.1/include/gsl/gsl_interp2d.h +174 -0
- cuBNM-0.0.1/include/gsl/gsl_linalg.h +925 -0
- cuBNM-0.0.1/include/gsl/gsl_machine.h +104 -0
- cuBNM-0.0.1/include/gsl/gsl_math.h +164 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix.h +25 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_char.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_complex_double.h +358 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_complex_float.h +358 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_complex_long_double.h +358 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_double.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_float.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_int.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_long.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_long_double.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_short.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_uchar.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_uint.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_ulong.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_matrix_ushort.h +357 -0
- cuBNM-0.0.1/include/gsl/gsl_message.h +80 -0
- cuBNM-0.0.1/include/gsl/gsl_min.h +111 -0
- cuBNM-0.0.1/include/gsl/gsl_minmax.h +102 -0
- cuBNM-0.0.1/include/gsl/gsl_mode.h +88 -0
- cuBNM-0.0.1/include/gsl/gsl_monte.h +57 -0
- cuBNM-0.0.1/include/gsl/gsl_monte_miser.h +97 -0
- cuBNM-0.0.1/include/gsl/gsl_monte_plain.h +65 -0
- cuBNM-0.0.1/include/gsl/gsl_monte_vegas.h +125 -0
- cuBNM-0.0.1/include/gsl/gsl_movstat.h +138 -0
- cuBNM-0.0.1/include/gsl/gsl_multifit.h +388 -0
- cuBNM-0.0.1/include/gsl/gsl_multifit_nlin.h +275 -0
- cuBNM-0.0.1/include/gsl/gsl_multifit_nlinear.h +304 -0
- cuBNM-0.0.1/include/gsl/gsl_multilarge.h +147 -0
- cuBNM-0.0.1/include/gsl/gsl_multilarge_nlinear.h +314 -0
- cuBNM-0.0.1/include/gsl/gsl_multimin.h +226 -0
- cuBNM-0.0.1/include/gsl/gsl_multiroots.h +177 -0
- cuBNM-0.0.1/include/gsl/gsl_multiset.h +93 -0
- cuBNM-0.0.1/include/gsl/gsl_nan.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_ntuple.h +82 -0
- cuBNM-0.0.1/include/gsl/gsl_odeiv.h +230 -0
- cuBNM-0.0.1/include/gsl/gsl_odeiv2.h +333 -0
- cuBNM-0.0.1/include/gsl/gsl_permutation.h +100 -0
- cuBNM-0.0.1/include/gsl/gsl_permute.h +24 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_char.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_complex_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_complex_float.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_complex_long_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_float.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_int.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_long.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_long_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix.h +24 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_char.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_complex_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_complex_float.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_complex_long_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_float.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_int.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_long.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_long_double.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_short.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_uchar.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_uint.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_ulong.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_matrix_ushort.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_short.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_uchar.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_uint.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_ulong.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_ushort.h +44 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector.h +24 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_char.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_complex_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_complex_float.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_complex_long_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_float.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_int.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_long.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_long_double.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_short.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_uchar.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_uint.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_ulong.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_permute_vector_ushort.h +45 -0
- cuBNM-0.0.1/include/gsl/gsl_poly.h +183 -0
- cuBNM-0.0.1/include/gsl/gsl_pow_int.h +61 -0
- cuBNM-0.0.1/include/gsl/gsl_precision.h +66 -0
- cuBNM-0.0.1/include/gsl/gsl_qrng.h +111 -0
- cuBNM-0.0.1/include/gsl/gsl_randist.h +219 -0
- cuBNM-0.0.1/include/gsl/gsl_rng.h +217 -0
- cuBNM-0.0.1/include/gsl/gsl_roots.h +127 -0
- cuBNM-0.0.1/include/gsl/gsl_rstat.h +83 -0
- cuBNM-0.0.1/include/gsl/gsl_sf.h +41 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_airy.h +139 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_bessel.h +549 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_clausen.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_coulomb.h +128 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_coupling.h +125 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_dawson.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_debye.h +91 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_dilog.h +130 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_elementary.h +57 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_ellint.h +112 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_elljac.h +48 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_erf.h +91 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_exp.h +134 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_expint.h +167 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_fermi_dirac.h +126 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_gamma.h +293 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_gegenbauer.h +73 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_hermite.h +98 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_hyperg.h +154 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_laguerre.h +68 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_lambert.h +69 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_legendre.h +395 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_log.h +82 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_mathieu.h +113 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_pow_int.h +49 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_psi.h +113 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_result.h +59 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_sincos_pi.h +57 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_synchrotron.h +60 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_transport.h +78 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_trig.h +152 -0
- cuBNM-0.0.1/include/gsl/gsl_sf_zeta.h +112 -0
- cuBNM-0.0.1/include/gsl/gsl_siman.h +82 -0
- cuBNM-0.0.1/include/gsl/gsl_sort.h +20 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_char.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_double.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_float.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_int.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_long.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_long_double.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_short.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_uchar.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_uint.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_ulong.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_ushort.h +51 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector.h +20 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_char.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_double.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_float.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_int.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_long.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_long_double.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_short.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_uchar.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_uint.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_ulong.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_sort_vector_ushort.h +52 -0
- cuBNM-0.0.1/include/gsl/gsl_spblas.h +58 -0
- cuBNM-0.0.1/include/gsl/gsl_specfunc.h +10 -0
- cuBNM-0.0.1/include/gsl/gsl_splinalg.h +79 -0
- cuBNM-0.0.1/include/gsl/gsl_spline.h +101 -0
- cuBNM-0.0.1/include/gsl/gsl_spline2d.h +120 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix.h +62 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_char.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_complex_double.h +179 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_complex_float.h +179 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_complex_long_double.h +179 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_double.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_float.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_int.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_long.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_long_double.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_short.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_uchar.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_uint.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_ulong.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_spmatrix_ushort.h +185 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics.h +20 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_char.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_double.h +116 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_float.h +116 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_int.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_long.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_long_double.h +116 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_short.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_uchar.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_uint.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_ulong.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_statistics_ushort.h +96 -0
- cuBNM-0.0.1/include/gsl/gsl_sum.h +162 -0
- cuBNM-0.0.1/include/gsl/gsl_sys.h +63 -0
- cuBNM-0.0.1/include/gsl/gsl_test.h +66 -0
- cuBNM-0.0.1/include/gsl/gsl_types.h +41 -0
- cuBNM-0.0.1/include/gsl/gsl_vector.h +25 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_char.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_complex.h +17 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_complex_double.h +252 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_complex_float.h +252 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_complex_long_double.h +252 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_double.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_float.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_int.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_long.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_long_double.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_short.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_uchar.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_uint.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_ulong.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_vector_ushort.h +232 -0
- cuBNM-0.0.1/include/gsl/gsl_version.h +26 -0
- cuBNM-0.0.1/include/gsl/gsl_wavelet.h +100 -0
- cuBNM-0.0.1/include/gsl/gsl_wavelet2d.h +107 -0
- cuBNM-0.0.1/include/gsl/test_source.c +262 -0
- cuBNM-0.0.1/pyproject.toml +59 -0
- cuBNM-0.0.1/setup.cfg +4 -0
- cuBNM-0.0.1/setup.py +214 -0
- cuBNM-0.0.1/src/cpp/bnm.cpp +646 -0
- cuBNM-0.0.1/src/cpp/constants.cpp +125 -0
- cuBNM-0.0.1/src/cpp/constants.hpp +117 -0
- cuBNM-0.0.1/src/cpp/fic.cpp +359 -0
- cuBNM-0.0.1/src/cpp/run_simulations.cpp +273 -0
- cuBNM-0.0.1/src/cpp/utils.cpp +96 -0
- cuBNM-0.0.1/src/cpp/utils.hpp +21 -0
- cuBNM-0.0.1/src/cuBNM/__init__.py +1 -0
- cuBNM-0.0.1/src/cuBNM/_run_simulations.py +18 -0
- cuBNM-0.0.1/src/cuBNM/_setup_flags.py +3 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-aparc_approach-median_mean001_desc-length.txt +68 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-aparc_approach-median_mean001_desc-strength.txt +68 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_approach-median_mean001_desc-length.txt +100 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_approach-median_mean001_desc-strength.txt +100 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_desc-6maps_minmax.txt +6 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_desc-6maps_zscore.txt +6 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_desc-yeo7.txt +100 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_hemi-LR_desc-FCDtril.txt +13695 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_hemi-LR_desc-FCtril.txt +4950 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_hemi-LR_exc-inter_desc-FCDtril.txt +13695 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-100_hemi-LR_exc-inter_desc-FCtril.txt +2450 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-200_approach-median_mean001_desc-length.txt +200 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-200_approach-median_mean001_desc-strength.txt +200 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-400_approach-median_mean001_desc-length.txt +400 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-400_approach-median_mean001_desc-strength.txt +400 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-600_approach-median_mean001_desc-length.txt +600 -0
- cuBNM-0.0.1/src/cuBNM/data/ctx_parc-schaefer-600_approach-median_mean001_desc-strength.txt +600 -0
- cuBNM-0.0.1/src/cuBNM/datasets.py +104 -0
- cuBNM-0.0.1/src/cuBNM/optimize.py +619 -0
- cuBNM-0.0.1/src/cuBNM/sim.py +324 -0
- cuBNM-0.0.1/src/cuBNM/utils.py +20 -0
- cuBNM-0.0.1/src/cuBNM.egg-info/PKG-INFO +80 -0
- cuBNM-0.0.1/src/cuBNM.egg-info/SOURCES.txt +309 -0
- cuBNM-0.0.1/src/cuBNM.egg-info/dependency_links.txt +1 -0
- cuBNM-0.0.1/src/cuBNM.egg-info/requires.txt +6 -0
- cuBNM-0.0.1/src/cuBNM.egg-info/top_level.txt +3 -0
- cuBNM-0.0.1/src/cuda/bnm.cu +1308 -0
- cuBNM-0.0.1/tests/test_core.py +179 -0
cuBNM-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023, cuBNM Developers
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
cuBNM-0.0.1/MANIFEST.in
ADDED
cuBNM-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cuBNM
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A toolbox for biophysical network modeling on GPUs
|
|
5
|
+
Author-email: Amin Saberi <amnsbr@gmail.com>
|
|
6
|
+
License: BSD 3-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2023, cuBNM Developers
|
|
9
|
+
|
|
10
|
+
Redistribution and use in source and binary forms, with or without
|
|
11
|
+
modification, are permitted provided that the following conditions are met:
|
|
12
|
+
|
|
13
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
14
|
+
list of conditions and the following disclaimer.
|
|
15
|
+
|
|
16
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
17
|
+
this list of conditions and the following disclaimer in the documentation
|
|
18
|
+
and/or other materials provided with the distribution.
|
|
19
|
+
|
|
20
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
21
|
+
contributors may be used to endorse or promote products derived from
|
|
22
|
+
this software without specific prior written permission.
|
|
23
|
+
|
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
25
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
26
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
27
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
28
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
29
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
30
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
31
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
32
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
33
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
+
|
|
35
|
+
Classifier: Development Status :: 3 - Alpha
|
|
36
|
+
Classifier: Intended Audience :: Science/Research
|
|
37
|
+
Classifier: Intended Audience :: Developers
|
|
38
|
+
Classifier: Programming Language :: C
|
|
39
|
+
Classifier: Programming Language :: C++
|
|
40
|
+
Classifier: Programming Language :: Python
|
|
41
|
+
Classifier: Programming Language :: Python :: 3
|
|
42
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
43
|
+
Classifier: Operating System :: Unix
|
|
44
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
45
|
+
Classifier: Topic :: Scientific/Engineering
|
|
46
|
+
Requires-Python: >=3.7
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
License-File: LICENSE
|
|
49
|
+
Requires-Dist: numpy>=1.20
|
|
50
|
+
Requires-Dist: GPUtil==1.4
|
|
51
|
+
Requires-Dist: scipy
|
|
52
|
+
Requires-Dist: pandas
|
|
53
|
+
Requires-Dist: pymoo==0.6
|
|
54
|
+
Requires-Dist: scikit-optimize==0.9
|
|
55
|
+
|
|
56
|
+
<div align="center">
|
|
57
|
+
<img src="./assets/logo_text.png" style="width:300px; margin:auto;">
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
The cuBNM toolbox performs efficient simulation and optimization of biophysical network models (BNM) of the brain on GPUs.
|
|
61
|
+
|
|
62
|
+
## Overview
|
|
63
|
+
The toolbox currently supports simulation of network nodes activity based on reduced Wong-Wang model with analytical-numerical feedback inhibition control. The Balloon-Windkessel model is used for calculation of simulated BOLD signals. It calculates goodness of fit of the simulated BOLD to the empirical BOLD based on functional connectivity (FC) and functional connectivity dynamics (FCD) matrices. The parameter optimization of the model can be done using grid search or evolutionary optimizers. Parallelization of the entire grid or each iteration of evolutionary optimizers is done at two levels: 1) simulations (across the GPU ‘blocks’), and 2) nodes (across each block’s ‘threads’). The toolbox additionally supports running the simulations on single- or multi-core CPUs, which will be used if no GPUs are detected or when requested by user (but the toolbox mainly focuses on GPUs).
|
|
64
|
+
|
|
65
|
+
This is a simplified flowchart of the different components of the program written in Python, C++ and CUDA.
|
|
66
|
+
|
|
67
|
+

|
|
68
|
+
|
|
69
|
+
## Installation
|
|
70
|
+
```
|
|
71
|
+
git clone https://github.com/amnsbr/cuBNM.git
|
|
72
|
+
cd cuBNM && pip install .
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Installation requires Python (tested with 3.9) and g++. Currently Windows, Mac and non-Nvidia GPUs are not supported.
|
|
76
|
+
|
|
77
|
+
[GSL](https://www.gnu.org/software/gsl/) is another requirement which will be installed by the package (in `~/.cuBNM/gsl`) but it takes a rather long time and is only done if `libgsl.a` and `libgslcblas.a` are not found in `"/usr/lib", "/lib", "/usr/local/lib", $LIBRARY_PATH, $LD_LIBRARY_PATH`. If you have GSL on your system but it is installed elsewhere, please add the `libgsl.a` and `libgslcblas.a` directories to `$LIBRARY_PATH`.
|
|
78
|
+
|
|
79
|
+
## Usage
|
|
80
|
+
In `./examples/examples.py` you can find some examples of running a single simulation (`run_sims`), grid search (`run_grid`) or CMAES optimization (`run_cmaes_optimizer`). More comprehensive documentations and examples will be added.
|
cuBNM-0.0.1/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="./assets/logo_text.png" style="width:300px; margin:auto;">
|
|
3
|
+
</div>
|
|
4
|
+
|
|
5
|
+
The cuBNM toolbox performs efficient simulation and optimization of biophysical network models (BNM) of the brain on GPUs.
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
The toolbox currently supports simulation of network nodes activity based on reduced Wong-Wang model with analytical-numerical feedback inhibition control. The Balloon-Windkessel model is used for calculation of simulated BOLD signals. It calculates goodness of fit of the simulated BOLD to the empirical BOLD based on functional connectivity (FC) and functional connectivity dynamics (FCD) matrices. The parameter optimization of the model can be done using grid search or evolutionary optimizers. Parallelization of the entire grid or each iteration of evolutionary optimizers is done at two levels: 1) simulations (across the GPU ‘blocks’), and 2) nodes (across each block’s ‘threads’). The toolbox additionally supports running the simulations on single- or multi-core CPUs, which will be used if no GPUs are detected or when requested by user (but the toolbox mainly focuses on GPUs).
|
|
9
|
+
|
|
10
|
+
This is a simplified flowchart of the different components of the program written in Python, C++ and CUDA.
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
```
|
|
16
|
+
git clone https://github.com/amnsbr/cuBNM.git
|
|
17
|
+
cd cuBNM && pip install .
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Installation requires Python (tested with 3.9) and g++. Currently Windows, Mac and non-Nvidia GPUs are not supported.
|
|
21
|
+
|
|
22
|
+
[GSL](https://www.gnu.org/software/gsl/) is another requirement which will be installed by the package (in `~/.cuBNM/gsl`) but it takes a rather long time and is only done if `libgsl.a` and `libgslcblas.a` are not found in `"/usr/lib", "/lib", "/usr/local/lib", $LIBRARY_PATH, $LD_LIBRARY_PATH`. If you have GSL on your system but it is installed elsewhere, please add the `libgsl.a` and `libgslcblas.a` directories to `$LIBRARY_PATH`.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
In `./examples/examples.py` you can find some examples of running a single simulation (`run_sims`), grid search (`run_grid`) or CMAES optimization (`run_cmaes_optimizer`). More comprehensive documentations and examples will be added.
|