Skip to content

Commit

Permalink
Fix typos in list_cores command output
Browse files Browse the repository at this point in the history
The output for list_cores when use_OpenCL or use_CUDA are True has a misspelling of the word "available" (i.e. "aviable").
  • Loading branch information
jonathanyhsu committed Nov 20, 2017
1 parent 692fbe9 commit f3fe2cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyrit_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,12 @@ def list_cores(self):
if cpyrit.config.cfg['use_CUDA'] == 'true':
self.tell("\nWARNING: OpenCL disables CUDA!\n")
if len(cp.OpCL) != 0:
self.tell("\nThe following OpenCL GPUs seem aviable...")
self.tell("\nThe following OpenCL GPUs seem available...")
for idx, OCL in enumerate(cp.OpCL, start=1):
self.tell("#%i: '%s'" % (idx, OCL))
elif cpyrit.config.cfg['use_OpenCL'] == 'false' and cpyrit.config.cfg['use_CUDA'] == 'true':
if len(cp.CUDAs) != 0:
self.tell("\nThe following CUDA GPUs seem aviable...")
self.tell("\nThe following CUDA GPUs seem available...")
for idx, CD in enumerate(cp.CUDAs, start=1):
self.tell("#%i: '%s'" % (idx, CD))
list_cores.cli_options = ((), ())
Expand Down

0 comments on commit f3fe2cb

Please sign in to comment.