Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed May 13, 2024
1 parent 58b7775 commit 561f305
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions clic/src/openclbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,9 +1033,8 @@ saveBinaryToCache(const std::string & device_hash, const std::string & source_ha
}

static auto
loadProgramFromCache(const Device::Pointer & device,
const std::string & device_hash,
const std::string & source_hash) -> cl_program
loadProgramFromCache(const Device::Pointer & device, const std::string & device_hash, const std::string & source_hash)
-> cl_program
{
cl_int err;
cl_int status;
Expand Down
2 changes: 1 addition & 1 deletion clic/src/tier1/median_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ median_box_func(const Device::Pointer & device,
{ "scalar1", radius2kernelsize(radius_y) },
{ "scalar2", radius2kernelsize(radius_z) } };
const ConstantList constants = {
{ "MAX_ARRAY_SIZE", radius2kernelsize(radius_x) * radius2kernelsize(radius_y) * radius2kernelsize(radius_z) }
{ "MAX_ARRAY_SIZE", radius2kernelsize(radius_x) * radius2kernelsize(radius_y) * radius2kernelsize(radius_z) }
};
const RangeArray range = { dst->width(), dst->height(), dst->depth() };
execute(device, kernel, params, range, constants);
Expand Down
2 changes: 1 addition & 1 deletion clic/src/tier1/median_sphere.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ median_sphere_func(const Device::Pointer & device,
{ "scalar1", radius2kernelsize(radius_y) },
{ "scalar2", radius2kernelsize(radius_z) } };
const ConstantList constants = {
{ "MAX_ARRAY_SIZE", radius2kernelsize(radius_x) * radius2kernelsize(radius_y) * radius2kernelsize(radius_z) }
{ "MAX_ARRAY_SIZE", radius2kernelsize(radius_x) * radius2kernelsize(radius_y) * radius2kernelsize(radius_z) }
};
const RangeArray range = { dst->width(), dst->height(), dst->depth() };
execute(device, kernel, params, range, constants);
Expand Down

0 comments on commit 561f305

Please sign in to comment.