Skip to content

Commit

Permalink
semaphore: fix mistyped "platform" in log messages (KhronosGroup#2128)
Browse files Browse the repository at this point in the history
Signed-off-by: Sven van Haastregt <[email protected]>
  • Loading branch information
svenvh authored Oct 29, 2024
1 parent 899cbf5 commit 6337d9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ int test_external_semaphores_queries(cl_device_id deviceID, cl_context context,
{
if (!is_extension_available(deviceID, "cl_khr_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}

if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -214,7 +214,7 @@ int test_external_semaphores_cross_context(cl_device_id deviceID,
cl_int err = CL_SUCCESS;
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -344,7 +344,7 @@ int test_external_semaphores_simple_1(cl_device_id deviceID, cl_context context,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -424,7 +424,7 @@ int test_external_semaphores_simple_2(cl_device_id deviceID, cl_context context,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -533,7 +533,7 @@ int test_external_semaphores_reuse(cl_device_id deviceID, cl_context context,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -658,7 +658,7 @@ static int external_semaphore_cross_queue_helper(cl_device_id deviceID,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -778,7 +778,7 @@ int test_external_semaphores_cross_queues_io2(cl_device_id deviceID,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -892,7 +892,7 @@ int test_external_semaphores_multi_signal(cl_device_id deviceID,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down Expand Up @@ -988,7 +988,7 @@ int test_external_semaphores_multi_wait(cl_device_id deviceID,
{
if (!is_extension_available(deviceID, "cl_khr_external_semaphore"))
{
log_info("cl_khr_semaphore is not supported on this platoform. "
log_info("cl_khr_semaphore is not supported on this platform. "
"Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ struct CreateImportExternalWithInvalidDevice : public SemaphoreTestBase
{
log_info(
"cl_khr_external_semaphore_opaque_fd is not supported on this "
"platoform. Skipping test.\n");
"platform. Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}

Expand Down Expand Up @@ -485,7 +485,7 @@ struct CreateInvalidValue : public SemaphoreTestBase
{
log_info("cl_khr_external_semaphore_opaque_fd is not supported "
"on this "
"platoform. Skipping test.\n");
"platform. Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}

Expand Down Expand Up @@ -528,7 +528,7 @@ struct CreateInvalidOperation : public SemaphoreTestBase
{
log_info(
"cl_khr_external_semaphore_opaque_fd is not supported on this "
"platoform. Skipping test.\n");
"platform. Skipping test.\n");
return TEST_SKIPPED_ITSELF;
}

Expand Down

0 comments on commit 6337d9b

Please sign in to comment.