hipcc uses -stdlib=stdlibc++ by default.

hipcc switches to -stdlib=libc++ if user requests it.
hack to disable LDG.


[ROCm/hip commit: bae6462e3b]
Tento commit je obsažen v:
Ben Sander committed 2016-04-28 13:17:49 -05:00
1 rodič 2b6a21af94
revize 6e21fa88f4
4 files changed
+26 -11

No files matched your search

+3 -1
Zobrazit soubor
@@ -17,8 +17,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include <hc.hpp>
#include"hcc_detail/hip_ldg.h"
#if __hcc_workweek__ >= 16164
#if __hcc_workweek__ >= 16164 and defined (USE_LDG)
__device__ char __ldg(const char* ptr)
{
return ptr[0];