This is an archive of the discontinued LLVM Phabricator instance.

[test-suite,CUDA] disable [l]lrint(1.f) checks on CUDA 7.0,7.5
ClosedPublic

Authored by tra on Dec 13 2016, 4:39 PM.

Details

Summary

Apparently ptxas in CUDA 7.0 and 7.5 has a bug which miscompiles
cvt.rni.s64.f32 instruction so lrint(1.f) and llrint(1.f) return 0 instead of 1.

CUDA 8 and in-driver JIT which comes with it do not have this issue.

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 81328.Dec 13 2016, 4:39 PM
tra retitled this revision from to [test-suite,CUDA] disable [l]lrint(1.f) checks on CUDA 7.0,7.5.
tra updated this object.
tra added a reviewer: jlebar.
tra added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.