Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 12, 2023
1 parent 4029506 commit 8c9db28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c_api/src/taichi_core_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ TiRuntime ti_create_runtime(TiArch arch, uint32_t device_index) {
switch (arch) {
#ifdef TI_WITH_VULKAN
case TI_ARCH_VULKAN: {
taichi::lang::vulkan::set_vulkan_visible_device(std::to_string(device_index));
taichi::lang::vulkan::set_vulkan_visible_device(
std::to_string(device_index));
VulkanRuntimeOwned *vulkan_runtime;
if (is_ci()) {
auto param = make_vulkan_runtime_creator_params();
Expand Down

0 comments on commit 8c9db28

Please sign in to comment.