Add -O3 flat to HIP.make to fix segmentation fault
This commit is contained in:
parent
da3946a7d5
commit
f31181dedb
2
HIP.make
2
HIP.make
@ -3,7 +3,7 @@ HIP_PATH?= /opt/rocm/hip
|
|||||||
HIPCC=$(HIP_PATH)/bin/hipcc
|
HIPCC=$(HIP_PATH)/bin/hipcc
|
||||||
|
|
||||||
hip-stream: main.cpp HIPStream.cpp
|
hip-stream: main.cpp HIPStream.cpp
|
||||||
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
$(HIPCC) $(CXXFLAGS) -O3 -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user