Skip to content

Commit

Permalink
Add ltensorflow_framework to the test_user_ops GPU build
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 169712715
  • Loading branch information
allenlavoie authored and tensorflower-gardener committed Sep 22, 2017
1 parent 7b2f14a commit f927a72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/tools/ci_build/builds/test_user_ops.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ else
USER_OP_SO="add_one.so"
"${GPP_BIN}" -std=c++11 ${EXTRA_GPP_FLAGS} \
-shared -o "${USER_OP_SO}" "${OP_KERNEL_CC}" \
"${OP_KERNEL_O}" ${TF_INCLUDE_PATH} -L "${CUDA_LIB_DIR}" \
-fPIC -lcudart || \
"${OP_KERNEL_O}" ${TF_INCLUDE_PATH} -L "${CUDA_LIB_DIR}" -L "${TF_LIB}" \
-fPIC -lcudart -ltensorflow_framework || \
die "g++ compilation of ${OP_KERNEL_CC}" FAILED
fi

Expand Down

0 comments on commit f927a72

Please sign in to comment.