bottleneck.src package¶
Submodules¶
bottleneck.src.bn_config module¶
Based on numpy’s approach to exposing compiler features via a config header. Unfortunately that file is not exposed, so re-implement the portions we need.
-
bottleneck.src.bn_config.
check_gcc_function_attribute
(cmd, attribute, name)¶ Return True if the given function attribute is supported.
-
bottleneck.src.bn_config.
check_inline
(cmd)¶ Return the inline identifier (may be empty).
-
bottleneck.src.bn_config.
create_config_h
(config)¶
-
bottleneck.src.bn_config.
is_clang
(cmd)¶
-
bottleneck.src.bn_config.
is_gcc
(cmd)¶
bottleneck.src.bn_template module¶
-
bottleneck.src.bn_template.
dtype_info
(lines)¶
-
bottleneck.src.bn_template.
dtype_templating
(lines)¶
-
bottleneck.src.bn_template.
expand_dtypes
(func_str, dtypes)¶
-
bottleneck.src.bn_template.
expand_functions_dtype
(lines)¶
-
bottleneck.src.bn_template.
expand_functions_repeat
(lines)¶
-
bottleneck.src.bn_template.
expand_repeat
(func_str, repeat_dict)¶
-
bottleneck.src.bn_template.
first_occurence
(pattern, lines)¶
-
bottleneck.src.bn_template.
make_c_files
()¶
-
bottleneck.src.bn_template.
next_block
(lines, index, begine_pattern, end_pattern)¶
-
bottleneck.src.bn_template.
quote_string
(lines)¶
-
bottleneck.src.bn_template.
repeat_info
(lines)¶
-
bottleneck.src.bn_template.
repeat_templating
(lines)¶
-
bottleneck.src.bn_template.
string_templating
(lines)¶
-
bottleneck.src.bn_template.
template
(src_str)¶