Fix build issues in hipCommander sample
- Remove -stdlib=libstdc++ from Makefile - Removed deleted HIP header file fom includes Change-Id: Ia189396bee19fc52b679259df56c6c6e2bafb6fe
Этот коммит содержится в:
1 родитель
8e2b7147a5
Коммит
59db2f453f
2 files changed
-4
No files matched your search
@@ -10,9 +10,6 @@ OPT=-O3
|
||||
CXXFLAGS = $(OPT) --std=c++11
|
||||
|
||||
HIP_PLATFORM=$(shell $(HIP_PATH)/bin/hipconfig --platform)
|
||||
ifeq (${HIP_PLATFORM}, hcc)
|
||||
CXXFLAGS += " -stdlib=libc++"
|
||||
endif
|
||||
|
||||
CODE_OBJECTS=nullkernel.hsaco
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <elf.h>
|
||||
#include <hsa/hsa.h>
|
||||
#include <hc.hpp>
|
||||
#include <hip/hcc_detail/hcc_acc.h>
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
Reference in new issue
Block a user