LCOV - code coverage report
Current view:
top level
-
src
- torch_c_api.cpp
(
source
/ functions)
Coverage
Total
Hit
Test:
CP2K Regtests (git:71c3ab0)
Lines:
88.4 %
275
243
Test Date:
2026-07-25 06:35:44
Functions:
92.3 %
52
48
Function Name
Hit count
_ZL10get_devicev
9092
_ZL12get_data_ptrPKN2at6TensorEN3c1010ScalarTypeEiPl
1562
_ZL14tensor_matchesPKN2at6TensorEN3c1010ScalarTypeERKNS3_6DeviceEiPKl
870
_ZL17tensor_from_arrayN3c1010ScalarTypeEbiPKlPv
2576
_ZL20get_positive_int_envPKcRi
200
_ZL21get_device_with_guardRN3c1019OptionalDeviceGuardE
9092
_ZL22load_module_for_devicePKcRKN3c106DeviceE
104
_ZL23copy_string_to_c_bufferRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPPcPi
216
_ZL23set_jit_fusion_strategyv
104
_ZL27can_load_directly_to_deviceRKN3c106DeviceE
104
_ZL30reset_tensor_from_array_doublePPN2at6TensorEbiPKlPd
870
_ZL33initialize_torch_threads_from_envv
11668
_ZN27TorchFloatingPointMaskGuardD2Ev
392
torch_c_allow_tf32
6
torch_c_cuda_device_count
0
torch_c_cuda_is_available
2
torch_c_dict_clone
128
torch_c_dict_create
476
torch_c_dict_get
76
torch_c_dict_insert
2912
torch_c_dict_release
340
torch_c_free_string
216
torch_c_model_forward
62
torch_c_model_forward_mol_tensor
324
torch_c_model_freeze
6
torch_c_model_get_attr_double
8
torch_c_model_get_attr_int64
40
torch_c_model_get_attr_list_size
8
torch_c_model_get_attr_string
16
torch_c_model_get_attr_strlist
16
torch_c_model_load
104
torch_c_model_read_metadata
216
torch_c_model_release
16
torch_c_tensor_backward
6
torch_c_tensor_backward_scalar
324
torch_c_tensor_data_ptr_double
1496
torch_c_tensor_data_ptr_float
66
torch_c_tensor_data_ptr_int32
0
torch_c_tensor_data_ptr_int64
0
torch_c_tensor_expand_dim
30
torch_c_tensor_from_array_double
1496
torch_c_tensor_from_array_float
66
torch_c_tensor_from_array_int32
0
torch_c_tensor_from_array_int64
1014
torch_c_tensor_grad
1466
torch_c_tensor_item_double
324
torch_c_tensor_narrow
32
torch_c_tensor_release
3698
torch_c_tensor_reset_from_array_double
870
torch_c_tensor_to_device_leaf
2314
torch_c_tensor_weighted_sum
324
torch_c_use_cuda
644
Generated by:
LCOV version 2.0-1