Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XpuOS/xsched
/ functions
Functions
1,486 in github.com/XpuOS/xsched
⨍
Functions
1,486
◇
Types & classes
2,035
↓ 1 callers
Method
Synchronize
platforms/hip/hal/src/hip_command.cpp:20
↓ 1 callers
Method
Synchronize
platforms/cuda/hal/src/level1/cuda_queue.cpp:50
↓ 1 callers
Method
TopXQueues
service/cli/src/cli.cpp:87
↓ 1 callers
Method
UpdateStatus
sched/src/scheduler/local.cpp:235
↓ 1 callers
Function
VpiQueueCreate
platforms/vpi/hal/src/vpi_queue.cpp:32
↓ 1 callers
Method
WaitForNextIdle
preempt/src/xqueue/command_buffer.cpp:14
↓ 1 callers
Method
WorkerLoop
preempt/src/xqueue/launch_worker.cpp:86
↓ 1 callers
Function
XCtxSynchronize
platforms/cuda/shim/src/shim.cpp:465
↓ 1 callers
Function
XHintDeadline
preempt/src/sched/hint.cpp:56
↓ 1 callers
Function
XHintKDeadline
preempt/src/sched/hint.cpp:67
↓ 1 callers
Function
XHintLaxity
preempt/src/sched/hint.cpp:45
↓ 1 callers
Function
XHintPriority
preempt/src/sched/hint.cpp:17
↓ 1 callers
Function
XHintTimeslice
preempt/src/sched/hint.cpp:39
↓ 1 callers
Function
XHintUtilization
preempt/src/sched/hint.cpp:28
↓ 1 callers
Function
XQueueSetPreemptLevel
preempt/src/xqueue/xqueue.cpp:274
↓ 1 callers
Function
ZeListreate
platforms/levelzero/hal/src/ze_queue.cpp:112
↓ 1 callers
Function
_check_is_max_context
Check if this is the 'max context' doc span for the token.
examples/Linux/5_infer_serving/python/helpers/data_processing.py:49
↓ 1 callers
Method
_clean_text
Performs invalid character removal and whitespace cleanup on text.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:316
↓ 1 callers
Function
_compute_softmax
Compute softmax probability over raw logits.
examples/Linux/5_infer_serving/python/helpers/data_processing.py:310
↓ 1 callers
Method
_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:294
↓ 1 callers
Function
_is_control
Checks whether `chars` is a control character.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:404
↓ 1 callers
Function
_is_punctuation
Checks whether `chars` is a punctuation character.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:416
↓ 1 callers
Function
_is_whitespace
Checks whether `chars` is a whitespace character.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:392
↓ 1 callers
Method
_run_split_on_punc
Splits punctuation on a piece of text.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:261
↓ 1 callers
Method
_run_strip_accents
Strips accents from a piece of text.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:250
↓ 1 callers
Method
_tokenize_chinese_chars
Adds whitespace around any CJK character.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:281
↓ 1 callers
Function
attention_layer_opt
Add the attention layer
examples/Linux/5_infer_serving/python/builder.py:93
↓ 1 callers
Method
attr
platforms/ascend/hal/include/xsched/ascend/hal/acl_command.h:98
↓ 1 callers
Function
bert_model
Create the bert model
examples/Linux/5_infer_serving/python/builder.py:305
↓ 1 callers
Function
build_dependency_graph
Build a dependency graph of the headers.
tools/autogen/merge_headers.py:48
↓ 1 callers
Function
cmake
(platform)
tools/autogen/setup_template.py:5
↓ 1 callers
Function
cmd_h
(platform)
tools/autogen/setup_template.py:12
↓ 1 callers
Function
convert_doc_tokens
Return the list of tokens from the doc text
examples/Linux/5_infer_serving/python/helpers/data_processing.py:26
↓ 1 callers
Method
convert_tokens_to_ids
(self, tokens)
examples/Linux/5_infer_serving/python/helpers/tokenization.py:177
↓ 1 callers
Function
emb_layernorm
(builder, network, config, weights_dict, builder_config, sequence_lengths, batch_sizes)
examples/Linux/5_infer_serving/python/builder.py:340
↓ 1 callers
Function
extract_function_names
Extract function names and versions from CUDA PFN type definitions.
tools/autogen/cuda_func_map.py:38
↓ 1 callers
Function
find_all_headers
Find all C/C++ header files in the given directory and subdirectories.
tools/autogen/merge_headers.py:21
↓ 1 callers
Method
find_functions
Recursively find and process function declarations.
tools/autogen/gen.py:150
↓ 1 callers
Function
find_not_handled
(class_name, file_path)
tools/list_not_handled_funcs.py:5
↓ 1 callers
Method
free
(self)
examples/Linux/5_infer_serving/python/helpers/calibrator.py:48
↓ 1 callers
Function
gen_test_data
(vocab_file="vocab.txt", max_seq_length=384, doc_stride=128, max_query_length=64, batch_size=1)
examples/Linux/5_infer_serving/python/eval.py:47
↓ 1 callers
Function
generate_calibration_cache
BERT demo needs a separate engine building path to generate calibration cache. This is because we need to configure SLN and MHA plugins in FP
examples/Linux/5_infer_serving/python/builder.py:466
↓ 1 callers
Method
generate_typedef
Generate typedef string for complex types.
tools/autogen/gen.py:54
↓ 1 callers
Method
generate_typedef_name
Generate typedef name for complex types.
tools/autogen/gen.py:49
↓ 1 callers
Function
getFatbinSize
platforms/hip/hal/src/kernel_param_v2_8.cpp:78
↓ 1 callers
Function
getFatbinSize
platforms/hip/hal/src/kernel_param_v3.0.cpp:78
↓ 1 callers
Function
get_final_text
Project the tokenized prediction back to the original text.
examples/Linux/5_infer_serving/python/helpers/data_processing.py:224
↓ 1 callers
Function
get_kmd_cmdq_id
platforms/levelzero/hal/include/xsched/levelzero/hal/npu_sched.h:173
↓ 1 callers
Method
get_library_symbols
Extract symbols from the library file using nm or dumpbin.
tools/autogen/gen.py:90
↓ 1 callers
Function
glob_to_regex
Convert a shell-style glob pattern to a regex pattern.
tools/autogen/merge_headers.py:17
↓ 1 callers
Function
hal_h
(platform)
tools/autogen/setup_template.py:57
↓ 1 callers
Function
hipOccupancyMaxPotentialBlockSize
platforms/hip/hal/include/xsched/hip/hal/hip.h:9358
↓ 1 callers
Function
hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags
platforms/hip/hal/include/xsched/hip/hal/hip.h:9507
↓ 1 callers
Method
is_complex_type
Check if the type is a function pointer or array.
tools/autogen/gen.py:41
↓ 1 callers
Function
is_project_include
Check if an include is part of our project's headers.
tools/autogen/merge_headers.py:100
↓ 1 callers
Function
is_whitespace
(c)
examples/Linux/5_infer_serving/python/helpers/data_processing.py:29
↓ 1 callers
Function
loadSPIRV
examples/Windows/4_manual_sched/levelzero/app_sched.cpp:43
↓ 1 callers
Function
loadSPIRV
examples/Windows/8_nontransparent_sched/levelzero/app_nontrans_sched.cpp:43
↓ 1 callers
Function
load_onnx_weights_and_quant
Load the weights from the onnx checkpoint
examples/Linux/5_infer_serving/python/builder_utils.py:239
↓ 1 callers
Function
load_pytorch_weights_and_quant
Load the weights from the pytorch checkpoint
examples/Linux/5_infer_serving/python/builder_utils.py:251
↓ 1 callers
Function
load_tf_weights
Load the weights from the tensorflow checkpoint
examples/Linux/5_infer_serving/python/builder_utils.py:51
↓ 1 callers
Method
lock
utils/include/xsched/utils/lock.h:34
↓ 1 callers
Function
main
()
tools/list_not_handled_funcs.py:29
↓ 1 callers
Function
main
()
tools/autogen/merge_headers.py:163
↓ 1 callers
Function
main
()
utils/tools/gen_function_h.py:157
↓ 1 callers
Function
main
()
examples/Linux/5_infer_serving/python/builder.py:489
↓ 1 callers
Function
main
()
examples/Windows/1_transparent_sched/levelzero/app.py:8
↓ 1 callers
Function
merge_headers
Merge headers, preserving formatting, comments, and external includes.
tools/autogen/merge_headers.py:114
↓ 1 callers
Function
npu_sched_resume_cmdq
platforms/levelzero/hal/include/xsched/levelzero/hal/npu_sched.h:97
↓ 1 callers
Function
npu_sched_suspend_cmdq
platforms/levelzero/hal/include/xsched/levelzero/hal/npu_sched.h:78
↓ 1 callers
Function
pair_macro_body
(pair_count, separator, terminator="")
utils/tools/gen_function_h.py:21
↓ 1 callers
Function
pair_params
(pair_count)
utils/tools/gen_function_h.py:14
↓ 1 callers
Function
parse_args
()
utils/tools/gen_function_h.py:134
↓ 1 callers
Method
parse_function
Parse a function declaration and generate corresponding code.
tools/autogen/gen.py:125
↓ 1 callers
Method
parse_source_file
Parse the source file and generate code.
tools/autogen/gen.py:170
↓ 1 callers
Function
postprocess
(output)
examples/Linux/5_infer_serving/python/eval.py:69
↓ 1 callers
Function
preprocess_file
Preprocess the file using clang with the specified include paths. Args: file_path: Path to the file to preprocess include_pat
tools/autogen/cuda_func_map.py:11
↓ 1 callers
Function
printDeviceInfo
platforms/levelzero/test/src/ze_driver_info.cpp:18
↓ 1 callers
Function
printDriverInfo
platforms/levelzero/test/src/ze_driver_info.cpp:5
↓ 1 callers
Function
question_features
(tokens, question)
examples/Linux/5_infer_serving/python/eval.py:52
↓ 1 callers
Function
queue_h
(platform)
tools/autogen/setup_template.py:26
↓ 1 callers
Function
registerForDataObjectV2_8
platforms/hip/hal/src/kernel_param_v2_8.cpp:96
↓ 1 callers
Function
registerForDataObjectV3_0
platforms/hip/hal/src/kernel_param_v3.0.cpp:96
↓ 1 callers
Function
render_count_args
(max_args)
utils/tools/gen_function_h.py:26
↓ 1 callers
Function
render_header
(max_pairs)
utils/tools/gen_function_h.py:52
↓ 1 callers
Function
run
(run_cnt)
platforms/ascend/test/resnet152.py:14
↓ 1 callers
Function
run_inference
(model_path, prompt, max_new_tokens, npu)
platforms/ascend/test/llama.py:8
↓ 1 callers
Function
shim_h
(platform)
tools/autogen/setup_template.py:78
↓ 1 callers
Function
squad_output
Create the squad output
examples/Linux/5_infer_serving/python/builder.py:320
↓ 1 callers
Method
tokenize
Tokenizes a piece of text.
examples/Linux/5_infer_serving/python/helpers/tokenization.py:226
↓ 1 callers
Function
topological_sort
Sort headers in topological order to resolve dependencies.
tools/autogen/merge_headers.py:71
↓ 1 callers
Function
transformer_layer_opt
Add the transformer layer
examples/Linux/5_infer_serving/python/builder.py:197
↓ 1 callers
Method
unlock
utils/include/xsched/utils/lock.h:35
↓ 1 callers
Method
write_output_files
Write the generated code to output files.
tools/autogen/gen.py:180
Method
AclCommand
platforms/ascend/hal/include/xsched/ascend/hal/acl_command.h:32
Method
AclEventRecordCommand
platforms/ascend/hal/src/acl_command.cpp:39
Method
AclOpCompileAndExecuteCommand
platforms/ascend/hal/src/acl_command.cpp:153
Method
AclQueue
platforms/ascend/hal/src/acl_queue.cpp:12
Method
AclQueueCreate
(stream: AclrtStream)
platforms/ascend/python/xsched/ascend/__init__.py:27
Method
ActiveWindowFirstPolicy
sched/include/xsched/sched/policy/awf.h:16
← previous
next →
301–400 of 1,486, ranked by callers