diff --git a/pyopencl/characterize.py b/pyopencl/characterize.py index 8a7987e45bb8e48ed4cd96dc7af035a29fc9dc62..a03b8e1e68147d96fda7894a531d5b3760871c75 100644 --- a/pyopencl/characterize.py +++ b/pyopencl/characterize.py @@ -234,3 +234,10 @@ def why_not_local_access_conflict_free(dev, itemsize, return max(conflicts) else: 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"]