Don't check return code of calling cl_query
This commit is contained in:
@@ -889,7 +889,7 @@ def cl_query_executable_get():
|
||||
|
||||
def query_opencl_compute_units():
|
||||
binary = cl_query_executable_get()
|
||||
output = subprocess.check_output([binary])
|
||||
output = subprocess.run([binary], stdout=subprocess.PIPE).stdout
|
||||
lines = output.splitlines()
|
||||
compute_units = []
|
||||
for line in lines:
|
||||
|
Reference in New Issue
Block a user