Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Closed
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
Patch for parallel option "offload"
Introduced by @reazulhoque.
Possibly numba should provide a way to extend parallel options.
  • Loading branch information
PokhodenkoSA committed Nov 9, 2020
commit 6c7d01801cf4db83b781f667665b0098fe96a148
2 changes: 0 additions & 2 deletions numba/core/cpu_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class ParallelOptions(object):
"""

def __init__(self, value):
self.gen_spirv = False
if isinstance(value, bool):
self.enabled = value
self.comprehension = value
Expand All @@ -67,7 +66,6 @@ def __init__(self, value):
self.stencil = value.pop('stencil', True)
self.fusion = value.pop('fusion', True)
self.prange = value.pop('prange', True)
self.gen_spirv = value.pop('offload', False)
if value:
msg = "Unrecognized parallel options: %s" % value.keys()
raise NameError(msg)
Expand Down