Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Sep 6, 2024
1 parent 7f16b76 commit 45ac953
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,20 @@ struct PropertiesArray : public InfoMutableCommandBufferTest
: InfoMutableCommandBufferTest(device, context, queue)
{}

virtual bool Skip() override {
virtual bool Skip() override
{
Version device_version = get_device_cl_version(device);
if ((device_version >= Version(3, 0))
|| is_extension_available(device, "cl_khr_extended_versioning")) {
|| is_extension_available(device, "cl_khr_extended_versioning"))
{

cl_version extension_version =
get_extension_version(device, "cl_khr_command_buffer_mutable_dispatch");
cl_version extension_version = get_extension_version(
device, "cl_khr_command_buffer_mutable_dispatch");

if (extension_version < CL_MAKE_VERSION(0, 9, 3)) {
return true;
}
if (extension_version < CL_MAKE_VERSION(0, 9, 3))
{
return true;
}
}
return InfoMutableCommandBufferTest::Skip();
}
Expand Down

0 comments on commit 45ac953

Please sign in to comment.