Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed Dec 26, 2022
1 parent a74b83f commit 7c8fe7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cpp/backends/amdgpu_device_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ TEST(AMDGPU, ImportMemory) {
const taichi::lang::DeviceAllocationGuard device_dest_guard(device_dest);

AMDGPUDriver::get_instance().stream_synchronize(nullptr);
device->memcpy_internal(device_dest.get_ptr(0), device_alloc.get_ptr(0), params.size);
device->memcpy_internal(device_dest.get_ptr(0), device_alloc.get_ptr(0),
params.size);
void *mapped;
EXPECT_EQ(device->map(device_dest, &mapped), RhiResult::success);

Expand Down

0 comments on commit 7c8fe7c

Please sign in to comment.