1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
325 B

#include <clc/clc.h>
_CLC_OVERLOAD _CLC_DEF int2 get_image_dim (image2d_t image) {
return (int2)(get_image_width(image), get_image_height(image));
}
_CLC_OVERLOAD _CLC_DEF int4 get_image_dim (image3d_t image) {
return (int4)(get_image_width(image), get_image_height(image),
get_image_depth(image), 0);
}