Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.

thrust::sort API failure using hip_port_1.7.3 branch on HIP/CUDA path(NVCC) #9

Open
sriharikarnam opened this issue Jan 4, 2018 · 0 comments
Assignees

Comments

@sriharikarnam
Copy link
Contributor

sriharikarnam commented Jan 4, 2018

Observed deviation from expected output for thrust::sort API, while testing with hipified thrust, using hip_port_1.7.3 branch
This issue doesn't appear while using native CUB (https://github.com/NVlabs/cub/tree/1.7.3)

Sorting Integers ( Failure Case):

Input: 79 78 62 78 94 40 86 57 40 16 28 54 77 87 93 98
Result:79 78 62 78 94 40 86 57 40 16 28 54 77 87 93 98

Sorting Integers(Expected Result):

Input: 79 78 62 78 94 40 86 57 40 16 28 54 77 87 93 98
Result:16 28 40 40 54 57 62 77 78 78 79 86 87 93 94 98

Steps to reproduce:

$ git clone https://github.com/ROCmSoftwarePlatform/Thrust.git
$ cd Thrust
$ export HIP_PLATFORM=nvcc (For NVCC Platform )
$ cd examples
$ cp sort.cu sort.cpp
$ /opt/rocm/bin/hipcc sort.cpp -I../ -o sort.cpp.out
$./sort.cpp.out

Note: This issue is not seen on HIP/ROCm path(HCC)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants