Code inclus dans cette librairie¶ tools teachcompute.args get_parsed_args get_parsed_args() teachcompute.__init__.py check_installation check_installation() compiled_with_cuda compiled_with_cuda() cuda_version cuda_version() cuda_version_int cuda_version_int() get_cxx_flags get_cxx_flags() get_stdcpp get_stdcpp() has_cuda has_cuda() teachcompute.ext_test_case ExtTestCase ExtTestCase ExtTestCase.assertAlmostEqual() ExtTestCase.assertIns() ExtTestCase.assertNotAlmostEqual() ExtTestCase.capture() ExtTestCase.tearDownClass() ExtTestCase.tryCall() ignore_warnings ignore_warnings() measure_time measure_time() measure_time_dim measure_time_dim() teachcompute.datasets mortality_table mortality_table() teachcompute.fctmr simple map reduce functions combiner combiner() ffilter ffilter() mapper mapper() reducer reducer() take take() Parallel fast_parallel_mapper create_array_numba pyparallel_mapper pyparallel_mapper() teachcompute.memory_peak get_memory_rss get_memory_rss() MemorySpy MemorySpy MemorySpy.start() MemorySpy.stop() start_spying_on start_spying_on() validation validation.cpu C API vector sum vector_add() vector_sum() vector_sum_array() vector_sum_array_parallel() vector_sum_array_avx() vector_sum_array_avx_parallel() validation.cuda C API cuda_example_py cuda_device_count() cuda_device_memory() cuda_devices_memory() cuda_version() get_device_prop() vector_add() vector_sum0() vector_sum6() vector_sum_atomic() cuda_monitor cuda_version() nvml_device_get_count() nvml_device_get_memory_info() nvml_init() nvml_shutdown() validation.cython validation.cython.dotpy pydot() validation.cython.dot_blas_lapack cblas_ddot() cblas_sdot() validation.cython.dot_cython dot_product() sdot_cython_array() sdot_cython_array_optim() sdot_array() sdot_array_16() sdot_array_16_sse() ddot_cython_array() ddot_cython_array_optim() ddot_array() ddot_array_16() ddot_array_16_sse() get_omp_max_threads() ddot_cython_array_omp() ddot_array_openmp() ddot_array_openmp_16() validation.cython.experiment_cython pyfilter_dmax() filter_dmax_cython() filter_dmax_cython_optim() cyfilter_dmax() cfilter_dmax() cfilter_dmax2() cfilter_dmax4() cfilter_dmax16() validation.cython.mul_cython_omp dmul_cython_omp() validation.cython.td_mul_cython multiply_matrix() c_multiply_matrix_parallel() c_multiply_matrix() c_multiply_matrix_parallel_transposed() validation.cython.vector_function_cy vector_add_c() teachcompute.torch_models llama get_llama_model() mistral get_mistral_model() phi get_phi_model() Torch Extensions Piecewise Linear Function PiecewiseLinearFunction PiecewiseLinearFunctionC piecewise_linear_backward() piecewise_linear_forward()