Skip to content

Commit

Permalink
cosmetic corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Mar 19, 2024
1 parent 6d61abc commit 0954aa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(${MODULE_NAME}_SOURCES
mutable_command_local_size.cpp
mutable_command_global_offset.cpp
mutable_command_full_dispatch.cpp
mutable_command_overwrite_update.cpp
mutable_command_overwrite_update.cpp
../basic_command_buffer.cpp
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
namespace {

////////////////////////////////////////////////////////////////////////////////
// command buffer with overwritten mutable dispatch tests
// command buffer with overwritten mutable dispatch test

struct OverwriteUpdateDispatch : BasicMutableCommandBufferTest
{
Expand All @@ -47,7 +47,7 @@ struct OverwriteUpdateDispatch : BasicMutableCommandBufferTest
sizeof(mutable_capabilities), &mutable_capabilities, nullptr)
&& mutable_capabilities & CL_MUTABLE_DISPATCH_ARGUMENTS_KHR;

// require at least mutable arguments capabillity
// require mutable arguments capabillity
return !mutable_support;
}

Expand Down Expand Up @@ -92,7 +92,7 @@ struct OverwriteUpdateDispatch : BasicMutableCommandBufferTest
return CL_SUCCESS;
}

// Check the results of command buffer execution
// check the results of command buffer execution
bool verify_result(const cl_mem &buffer, const cl_int pattern)
{
cl_int error = CL_SUCCESS;
Expand Down Expand Up @@ -199,13 +199,13 @@ struct OverwriteUpdateDispatch : BasicMutableCommandBufferTest
error = clFinish(queue);
test_error(error, "clFinish failed");

// Check the results of the modified execution
// check the results of the modified execution
if (!verify_result(new_out_mem, pattern_sec)) return TEST_FAIL;

return TEST_PASS;
}

// all available command mutable dispatch test attributes
// mutable dispatch test attributes
cl_mutable_command_khr command;

const cl_int pattern_pri = 0xACDC;
Expand Down

0 comments on commit 0954aa3

Please sign in to comment.