This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] NVPTX: Set default/minimum compute capability to sm_35
ClosedPublic

Authored by grokos on Dec 7 2017, 11:37 AM.

Details

Summary

The current implementation of the nvptx runtime (to be upstreamed shortly) uses the atomicMax operation on 64-bit integers. This is only supported in compute capabilities 3.5 and later. I've changed the clang default to sm_35.

Diff Detail

Repository
rC Clang

Event Timeline

grokos created this revision.Dec 7 2017, 11:37 AM
This revision was automatically updated to reflect the committed changes.