Skip to content

Conversation

cmc-rep
Copy link
Contributor

@cmc-rep cmc-rep commented Jan 15, 2021

Signed-off-by: Gang Y Chen gang.y.chen@intel.com

@cmc-rep cmc-rep requested a review from kbobrovs as a code owner January 15, 2021 01:05
@cmc-rep cmc-rep requested a review from kychendev January 15, 2021 01:15
@cmc-rep
Copy link
Contributor Author

cmc-rep commented Jan 15, 2021

@kychendev @kbobrovs please review and merge timely

sycl::INTEL::gpu::vector_type_t<T, M> Result;
for (int i = 0; i < M; ++i) {
uint16_t EltOffset = Offset[i] / sizeof(T);
assert(Offset[i] % sizeof(T) == 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Could add safety check here and report error on out-of-bound access.

Signed-off-by: Gang Y Chen <gang.y.chen@intel.com>
@cmc-rep
Copy link
Contributor Author

cmc-rep commented Jan 17, 2021

@kychendev @kbobrovs , update is ready for review

@cmc-rep
Copy link
Contributor Author

cmc-rep commented Jan 20, 2021

@konst, could you help with this merge?

@cmc-rep
Copy link
Contributor Author

cmc-rep commented Jan 20, 2021

@kbobrovs, could you help with this merge

@kbobrovs kbobrovs merged commit 8208427 into intel:sycl Jan 20, 2021
@cmc-rep cmc-rep deleted the cmc-rep-change branch January 22, 2021 22:53
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