Skip to content

Conversation

@DBDuncan
Copy link
Contributor

@DBDuncan DBDuncan commented Aug 17, 2023

This commit adds support for data types smaller then 32-bit for mipmaps.

The added types are short, short2, short4, ushort, ushort2, ushort4, char, char2, char4, uchar, uchar2, uchar4, half, half2, and half4. Mipmap tests have been modified to test all valid data types. image.cl has also been refactored to reduce code duplication.

@DBDuncan DBDuncan requested review from a team as code owners August 17, 2023 13:03
@DBDuncan DBDuncan force-pushed the duncan/add-mipmap-dtypes branch from 828527a to 6db0988 Compare August 17, 2023 13:05
@DBDuncan DBDuncan changed the title [SYCL][Bindless] Add support for mipmap dtypes smaller than 32-bit [SYCL][Bindless] Add support for mipmap data types smaller than 32-bit Aug 17, 2023
@ProGTX
Copy link
Contributor

ProGTX commented Sep 1, 2023

Friendly ping for @intel/llvm-reviewers-runtime and @intel/llvm-reviewers-cuda

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor comments. I think it looks good overall.

@DBDuncan DBDuncan force-pushed the duncan/add-mipmap-dtypes branch from 6db0988 to 8093bcb Compare September 12, 2023 11:40
@DBDuncan DBDuncan requested a review from a team as a code owner September 12, 2023 11:40
@DBDuncan DBDuncan force-pushed the duncan/add-mipmap-dtypes branch from 8093bcb to d2679fe Compare September 12, 2023 13:03
This commit adds support for data types smaller then 32-bit for mipmaps.

The added types are short, short2, short4, ushort, ushort2, ushort4, char, char2, char4, uchar, uchar2, uchar4, half, half2, and half4.
Mipmap tests have been modified to test all valid data types.
`image.cl` has also been refactored to reduce code duplication.
@DBDuncan DBDuncan force-pushed the duncan/add-mipmap-dtypes branch from d2679fe to 14fcf07 Compare September 12, 2023 13:05
@DBDuncan
Copy link
Contributor Author

Thanks for the feedback Steffen. Would have responded much earlier but unfortunately I was on holiday when I got your feedback.

@DBDuncan
Copy link
Contributor Author

@intel/llvm-gatekeepers

@steffenlarsen steffenlarsen merged commit 3ce2ba0 into intel:sycl Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants