Skip to content

Commit 4141573

Browse files
committed
fix typos
1 parent 62d54e8 commit 4141573

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/runtime/vulkan_resources.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ int vk_setup_compute_pipeline(void *user_context,
999999
} else {
10001000
// dynamic allocation
10011001
if (shared_mem_constant_id > 0) {
1002-
error(user_context) << "Vulkan: Multiple dynamic shared memory allocations found! Only one is suported!!";
1002+
error(user_context) << "Vulkan: Multiple dynamic shared memory allocations found! Only one is supported!!";
10031003
result = VK_ERROR_TOO_MANY_OBJECTS;
10041004
break;
10051005
}
@@ -1866,7 +1866,7 @@ int vk_device_crop_from_offset(void *user_context,
18661866
// get the allocated region for the device
18671867
MemoryRegion *device_region = reinterpret_cast<MemoryRegion *>(src->device);
18681868
if (device_region == nullptr) {
1869-
error(user_context) << "Vulkan: Failed to crop region! Invalide device region!";
1869+
error(user_context) << "Vulkan: Failed to crop region! Invalid device region!";
18701870
return halide_error_code_device_crop_failed;
18711871
}
18721872

test/correctness/vector_shuffle.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ int main(int argc, char **argv) {
6666
printf("Testing vector size %d...\n", vec_size);
6767
std::vector<int> indices0, indices1;
6868

69-
// Test 1: All indices: foreward/backward and combined
69+
// Test 1: All indices: forward/backward and combined
7070
for (int i = 0; i < vec_size; ++i) {
7171
indices0.push_back(i); // forward
7272
indices1.push_back(vec_size - i - 1); // backward
@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
7979
if (test_with_indices(target, indices1, indices1)) {
8080
return 1;
8181
}
82-
printf(" All indices mixed forware / backward...\n");
82+
printf(" All indices mixed forward / backward...\n");
8383
if (test_with_indices(target, indices0, indices1)) {
8484
return 1;
8585
}

0 commit comments

Comments
 (0)