Add the switch logic for math conformance fast path
authorJunyan He <junyan.he@linux.intel.com>
Wed, 10 Sep 2014 08:10:28 +0000 (16:10 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 10 Sep 2014 08:27:19 +0000 (16:27 +0800)
commit077337848a738fe0f9cae7b786b64ad8e5a5782d
tree870dc2bfb8138b2caaa2ddfb3f5bbe18c4177487
parent423dbb0d2389dea27dd451cf458b06df92c27ecb
Add the switch logic for math conformance fast path

Modify the __ocl_math_fastpath_flag init value in the
backend link stage to switch between fast path and
conformance path.

V2:
    Rename the function prototype parameter name.

V3:
    Modify the parameter to boolean and correct some comment words.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/src/backend/program.cpp
backend/src/llvm/llvm_bitcode_link.cpp
backend/src/llvm/llvm_gen_backend.hpp
backend/src/llvm/llvm_to_gen.cpp
backend/src/llvm/llvm_to_gen.hpp