- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I am trying to copy an image from source to destination. I am using the readimageui() routine in the kernel and this returns uint4 type. So when using the writeimageui() I just want to write it as of type unsigned int. Then I can write it to the destination buffer which in the host code, is of type unsigned int.
Please tell me how do I convert the uint4 vector type to unsigned int..
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can always access the components of the vector data type with 4 elements as
Raghu

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page