missing constant iterator
saadrahim opened this issue · 3 comments
saadrahim commented
PyTorch requires the thrust::constant_iterator and thrust::thrust::make_constant_iterator API which we seem to be missing from rocThrust currently.
neon60 commented
We would like to request more information about this error. There is an implemented test for the thrust::constant_iterator:
https://github.com/ROCmSoftwarePlatform/rocThrust/blob/master/test/test_constant_iterator.cpp
We need to see the error message.
saadrahim commented
Can you document the different include path for this call? It is different from the old TCS thrust.
The user has solved the issue.
neon60 commented
It's following the thrust library and the iterators are in the documentation with the right include path. I think we can add this to change list, if we have one.