Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GPUmodules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.9.0-RC1'
__version__ = '3.9.0-RC2'
__status__ = 'Development Status :: 5 - Production/Stable'
#__status__ = 'Development Status :: 4 - Beta'
__author__ = 'RicksLab'
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ parameters to be written to the GPU. The default behavior is to only write chan
* Optimized regex compile strategy for improved performance.
* Fixed issue with handling of alpha strings in kernel version.
* Fixed matplotlib deprecation issue.
* Enhanced `gpu-ls --about` output.
* Catch and report PermissionError for driver files.
* Prep for debian repository release.

## Development Plans
Expand Down
11 changes: 6 additions & 5 deletions gpu-ls
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ __docformat__ = 'reStructuredText'
import argparse
import sys
import logging
from platform import release
from GPUmodules import __version__, __status__, __credits__
from GPUmodules import GPUmodule as Gpu
from GPUmodules.env import GUT_CONST
Expand All @@ -60,8 +61,7 @@ LOGGER = logging.getLogger('gpu-utils')


def main() -> None:
"""
Main flow for gpu-ls.
""" Main flow for gpu-ls.
"""
parser = argparse.ArgumentParser()
parser.add_argument('--about', help='README',
Expand Down Expand Up @@ -104,14 +104,18 @@ def main() -> None:

# About me
if args.about:
GUT_CONST.check_env()
current_pversion = sys.version_info
current_kversion_str = release()
print(__doc__)
print('Author: ', __author__)
print('Copyright: ', __copyright__)
print('Credits: ', *['\n {}'.format(item) for item in __credits__])
print('License: ', __license__)
print('Rickslab-gpu-utils Version: ', __version__)
print('Install Type: ', GUT_CONST.install_type)
print('Distro: {}'.format(GUT_CONST.distro))
print('Kernel Version: {}'.format(current_kversion_str))
print('Python Version: {}.{}.{}'.format(current_pversion[0],
current_pversion[1],
current_pversion[2]))
Expand Down Expand Up @@ -172,9 +176,6 @@ def main() -> None:
else:
gpu_list.print()

if GUT_CONST.debug:
for key, value in GUT_CONST.PATTERNS.patterns.items():
print('{}\n {}'.format(key, value))
sys.exit(0)


Expand Down