Skip to content
Snippets Groups Projects
Commit 027594c1 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add get_fast_inaccurate_build_options() to pyopencl.characterize.

parent f52ea942
No related branches found
No related tags found
No related merge requests found
...@@ -234,3 +234,10 @@ def why_not_local_access_conflict_free(dev, itemsize, ...@@ -234,3 +234,10 @@ def why_not_local_access_conflict_free(dev, itemsize,
return max(conflicts) return max(conflicts)
else: else:
return 1, None return 1, None
def get_fast_inaccurate_build_options(dev):
return ["-cl-mad-enable", "-cl-fast-relaxed-math",
"-cl-no-signed-zeros", "-cl-strict-aliasing"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment