mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
* Add cuda architectures to build wheel for * Package scripts in wheel * Separate cuda major version extraction to fix architecutre selection logic * Add back statement printing cuda version * [pre-commit.ci] auto code formatting --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
11 lines
203 B
Python
11 lines
203 B
Python
import json
|
|
|
|
from . import version
|
|
|
|
|
|
def read_file(filename):
|
|
with open(filename, "r") as f:
|
|
file_root = json.load(f)
|
|
version.check_file_version(filename, file_root)
|
|
return file_root
|