You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
figure out what the best INDEX_TYPE for arrays is on each platform. I notice all the index types I see in cuda examples are "int". Does that mean that we should be using "int" indices when running cuda kernels? Perhaps this should be a platform dependent type?
The text was updated successfully, but these errors were encountered:
I chatted with another developer about this. The main benefit of using std:ptrdiff is that it will always be as long as an array needs to be and the compiler doesn't have to worry of overflowing.
figure out what the best INDEX_TYPE for arrays is on each platform. I notice all the index types I see in cuda examples are "int". Does that mean that we should be using "int" indices when running cuda kernels? Perhaps this should be a platform dependent type?
The text was updated successfully, but these errors were encountered: