Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I unroll kernel function and use indirect address(1x4_10 or 1x4_9), Segment error (core dump) #3

Closed
ysh329 opened this issue May 17, 2017 · 2 comments

Comments

@ysh329
Copy link
Contributor

ysh329 commented May 17, 2017

When I unroll kernel function (the third FOR LOOP in function) and use indirect address(1x4_10 or 1x4_9), build is okay.
however, it shows Segment error (core dump) when executing.

@ysh329 ysh329 changed the title When I unroll kernel function and use indirect address(1x4_10 or 1x4_9), segment fault When I unroll kernel function and use indirect address(1x4_10 or 1x4_9), Segment error (core dump) May 17, 2017
@ysh329
Copy link
Contributor Author

ysh329 commented May 18, 2017

I think and test my idea that this issue is relative to this code below:

for ( p = 0; p<k ; p+=4 )

there may exist a situation that p is bigger than k.

@ysh329
Copy link
Contributor Author

ysh329 commented Jul 15, 2017

This code doesn't implement border or special case.

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

No branches or pull requests

1 participant