MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / version_check

Function version_check

imperative/python/megengine/utils/custom_op_tools.py:235–242  ·  view source on GitHub ↗
(
    name, sources, build_args, build_dir, with_cuda, with_cudnn, abi_tag,
)

Source from the content-addressed store, hash-verified

233
234
235def version_check(
236 name, sources, build_args, build_dir, with_cuda, with_cudnn, abi_tag,
237):
238 old_version = custom_op_versioner.get_version(name)
239 version = custom_op_versioner.bump_version_if_changed(
240 name, sources, build_args, build_dir, with_cuda, with_cudnn, abi_tag,
241 )
242 return version, old_version
243
244
245#####################################################################

Callers 1

buildFunction · 0.85

Calls 2

get_versionMethod · 0.45

Tested by

no test coverage detected