You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/20 15:26:28 UTC

[GitHub] [tvm] srkreddy1238 commented on a diff in pull request #12833: [DOCKER][Adreno]Docker infra for Adreno target with CLML support

srkreddy1238 commented on code in PR #12833:
URL: https://github.com/apache/tvm/pull/12833#discussion_r975517603


##########
docker/bash.sh:
##########
@@ -453,6 +453,12 @@ if [ -f "${REPO_DIR}/.git" ]; then
     fi
 fi
 
+if [[ "${DOCKER_IMAGE_NAME}" == *"ci_adreno"* && ! -z "${ADRENO_OPENCL}" ]]; then
+    DOCKER_MOUNT+=( --volume ${ADRENO_OPENCL}:/adreno-opencl)
+    DOCKER_ENV+=( --env ADRENO_OPENCL=/adreno-opencl )
+    DOCKER_ENV+=( --net=host)

Review Comment:
   Most of the times adb server runs on host and this enables the device access inside docker.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org