Skip to content

Commit

Permalink
Merge branch 'master' into coo_sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyVR committed Sep 15, 2022
2 parents 2f5d36b + 4d94b31 commit b24aee4
Show file tree
Hide file tree
Showing 29 changed files with 496 additions and 60 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
mkdir -m777 shared
docker create --user dev --name taichi_build --gpus all -v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY -e PY -e GPU_BUILD -e TAICHI_CMAKE_ARGS -e PROJECT_NAME \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.2 \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.4 \
/home/dev/taichi/.github/workflows/scripts/unix_build.sh
tar -cf - ../${{ github.event.repository.name }} --mode u=+rwx,g=+rwx,o=+rwx --owner 1000 --group 1000 | docker cp - taichi_build:/home/dev/
docker start -a taichi_build
Expand All @@ -111,7 +111,7 @@ jobs:
run: |
docker create --user dev --name taichi_test --gpus all -v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY -e PY -e GPU_TEST \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.2 \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.4 \
/home/dev/unix_test.sh
docker cp .github/workflows/scripts/unix_test.sh taichi_test:/home/dev/unix_test.sh
docker cp .github/workflows/scripts/common-utils.sh taichi_test:/home/dev/common-utils.sh
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/win_build_test_cpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ if (!$llvmVer.CompareTo("10")) {
} else {
$env:TAICHI_CMAKE_ARGS += " -DLLVM_AS_EXECUTABLE=C:\\taichi_llvm_15\\bin\\llvm-as.exe -DTI_WITH_VULKAN:BOOL=OFF"
$env:TAICHI_CMAKE_ARGS += " -DTI_LLVM_15:BOOL=ON"
$env:TAICHI_CMAKE_ARGS += " -DTI_WITH_DX12:BOOL=ON"
}


Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ jobs:
--gpus 'all,"capabilities=graphics,utility,display,video,compute"' \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e PY -e GPU_BUILD -e PROJECT_NAME -e TAICHI_CMAKE_ARGS -e DISPLAY \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.3 \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.4 \
/home/dev/taichi/.github/workflows/scripts/unix_build.sh
# A tarball is needed because sccache needs some permissions that only the file owner has.
# 1000 is the uid and gid of user "dev" in the container.
Expand Down Expand Up @@ -444,7 +444,7 @@ jobs:
-e TI_LITE_TEST \
-e TI_TEST_OFFLINE_CACHE \
-e DISPLAY -e PY -e GPU_TEST -e TI_WANTED_ARCHS -e TI_RUN_RELEASE_TESTS \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.3 \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.4 \
/home/dev/unix_test.sh
docker cp .github/workflows/scripts/unix_test.sh taichi_test:/home/dev/unix_test.sh
docker cp .github/workflows/scripts/common-utils.sh taichi_test:/home/dev/common-utils.sh
Expand Down Expand Up @@ -671,7 +671,7 @@ jobs:
docker run --user dev --name taichi_build_host \
$DOCKER_RUN_ARGS \
-v $TAICHI_WHEEL_DIR:/home/dev/taichi/dist \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.3 \
registry.taichigraphics.com/taichidev-ubuntu18.04:v0.3.4 \
/home/dev/taichi/.github/workflows/scripts/unix-build-v2.sh
env:
TAICHI_CMAKE_ARGS: >-
Expand Down
1 change: 1 addition & 0 deletions c_api/include/taichi/taichi_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ typedef enum TiError {
TI_ERROR_ARGUMENT_OUT_OF_RANGE = -6,
TI_ERROR_ARGUMENT_NOT_FOUND = -7,
TI_ERROR_INVALID_INTEROP = -8,
TI_ERROR_INVALID_STATE = -9,
TI_ERROR_MAX_ENUM = 0xffffffff,
} TiError;

Expand Down
Loading

0 comments on commit b24aee4

Please sign in to comment.