This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Add "cles_khr_int64" extension.
ClosedPublic

Authored by Fznamznon on Jan 25 2018, 5:51 AM.

Details

Summary

For OpenCL 1.1 embedded profile 64 bit integers i.e. long,
ulong including the appropriate vector data types and operations
on 64-bit integers are optional. The "cles_khr_int64" extension
string will be reported if the embedded profile implementation
supports 64-bit integers.

Diff Detail

Repository
rL LLVM

Event Timeline

Fznamznon created this revision.Jan 25 2018, 5:51 AM
bader edited reviewers, added: Anastasia; removed: bader.Jan 25 2018, 6:04 AM
bader accepted this revision.Jan 25 2018, 6:24 AM
bader added a subscriber: bader.

LGTM, but I'd like Anastasia to approve.
Thanks.

This revision is now accepted and ready to land.Jan 25 2018, 6:24 AM

I am just a bit unclear about the use of this extension in the kernel language. Could you please clarify?

Anastasia accepted this revision.Jan 25 2018, 5:36 PM

Oh I guess it can be used to exclude the code with long? LGTM!

This revision was automatically updated to reflect the committed changes.