Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr committed Mar 27, 2024
1 parent 9a49a34 commit cd53e28
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test_conformance/images/clFillImage/test_fill_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@

extern void read_image_pixel_float( void *imageData, image_descriptor *imageInfo, int x, int y, int z, float *outData );

struct pitch_buffer_data {
struct pitch_buffer_data
{
void *buf;
bool is_aligned;
};
static void CL_CALLBACK free_pitch_buffer( cl_mem image, void *data )
{
struct pitch_buffer_data *d = (struct pitch_buffer_data *)data;
if (d->is_aligned) {
if (d->is_aligned)
{
align_free(d->buf);
} else {
}
else
{
free(d->buf);
}
free(d);
Expand Down

0 comments on commit cd53e28

Please sign in to comment.