Fix double-lock of stream on hipModuleLaunchKernel

Change-Id: I4ca164971c25f4eb8fbcca11d6258367bb3d2ab4


[ROCm/hip-tests commit: 512ff8ec8e]
This commit is contained in:
Ben Sander
2016-09-02 12:47:25 -05:00
parent 43eb8bc993
commit cf0cbf866d
@@ -3,11 +3,14 @@ ifeq (,$(HIP_PATH))
HIP_PATH=../../..
endif
HIPCC=$(HIP_PATH)/bin/hipcc
OPT=
HIP_PLATFORM=$(shell $(HIP_PATH)/bin/hipconfig --compiler)
ifeq (${HIP_PLATFORM}, hcc)
GENCODEOBJECT_FLAGS=--target-isa=fiji
all: runKernel.hip.out
vcpy_isa.compile: vcpy_isa.cpp
$(HIPCC) --genco $(GENCODEOBJECT_FLAGS) vcpy_isa.cpp -o vcpy_isa.co
@@ -29,5 +32,5 @@ endif
all: vcpy_isa.compile runKernel.hip.out
runKernel.hip.out: runKernel.cpp
$(HIPCC) runKernel.cpp -o runKernel.hip.out
$(HIPCC) $(OPT) runKernel.cpp -o runKernel.hip.out