P4 to Git Change 1442652 by bsumner@bsumner-lin-opencl on 2017/08/02 13:00:18

SWDEV-129003 - fix incorrect code for pal device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#43 edit
This commit is contained in:
foreman
2017-08-02 13:13:59 -04:00
parent 786006f223
commit 994c4018f6
+1 -1
View File
@@ -1384,7 +1384,7 @@ bool LightningProgram::linkImpl(amd::option::Options* options) {
auto daz_opt = get_oclc_daz_opt(options->oVariables->DenormsAreZero ||
AMD_GPU_FORCE_SINGLE_FP_DENORM == 0 ||
(dev().deviceInfo().gfxipVersion_ < 900 &&
(dev().hwInfo()->gfxipVersion_ < 900 &&
AMD_GPU_FORCE_SINGLE_FP_DENORM < 0));
Data* daz_opt_bc = C->NewBufferReference(DT_LLVM_BC, daz_opt.first, daz_opt.second);