Skip to content

roundup integer type to be a multiple of 8#884

Merged
alan-baker merged 2 commits intogoogle:mainfrom
rjodinchr:type_int
Jul 18, 2022
Merged

roundup integer type to be a multiple of 8#884
alan-baker merged 2 commits intogoogle:mainfrom
rjodinchr:type_int

Conversation

@rjodinchr
Copy link
Copy Markdown
Collaborator

Most vulkan drivers do not support integer type not being a multiple
of 8.
Make sure we always produce integer type with a size multiple of 8.

This will fix a compilation issue with libclc lgamma and lgamma_r
functions.

Most vulkan drivers do not support integer type not being a multiple
of 8.
Make sure we always produce integer type with a size multiple of 8.

This will fix a compilation issue with libclc lgamma and lgamma_r
functions.
@alan-baker
Copy link
Copy Markdown
Collaborator

Do lgamma and lgamma_r pass CTS? What functional tests have you run?

@rjodinchr
Copy link
Copy Markdown
Collaborator Author

Yes they do on Intel, AMD and ARM GPUs. I have not tested it with Nvidia.
I have run the CTS test without any flag.

Comment thread lib/SPIRVProducerPass.cpp Outdated
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.

3 participants