Skip to content

Commit

Permalink
fix typo (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug authored Jun 20, 2023
1 parent 672e677 commit d7d43bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/CL/opencl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ enum ImageRequirementsInfoExt : cl_image_requirements_info_ext
RowPitchAlign = CL_IMAGE_REQUIREMENTS_ROW_PITCH_ALIGNMENT_EXT,
BaseAddAlign = CL_IMAGE_REQUIREMENTS_BASE_ADDRESS_ALIGNMENT_EXT,
Size = CL_IMAGE_REQUIREMENTS_SIZE_EXT,
NaxWidth = CL_IMAGE_REQUIREMENTS_MAX_WIDTH_EXT,
MaxWidth = CL_IMAGE_REQUIREMENTS_MAX_WIDTH_EXT,
MaxHeight = CL_IMAGE_REQUIREMENTS_MAX_HEIGHT_EXT,
MaxDepth = CL_IMAGE_REQUIREMENTS_MAX_DEPTH_EXT,
MaxArraySize = CL_IMAGE_REQUIREMENTS_MAX_ARRAY_SIZE_EXT,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_openclhpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4372,7 +4372,7 @@ void testTemplateGetImageRequirementsInfo()
TEST_ASSERT_EQUAL(info3, TEST_SIZE_TYPE_VALUE);
#endif

auto info4 = context.getImageRequirementsInfoExt<cl::ImageRequirementsInfoExt::NaxWidth>();
auto info4 = context.getImageRequirementsInfoExt<cl::ImageRequirementsInfoExt::MaxWidth>();
TEST_ASSERT_EQUAL(info4, TEST_UINT_VALUE);

auto info5 = context.getImageRequirementsInfoExt<cl::ImageRequirementsInfoExt::MaxHeight>();
Expand Down

0 comments on commit d7d43bd

Please sign in to comment.