-
Notifications
You must be signed in to change notification settings - Fork 34
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
rocThrust support? #952
Comments
It doesn't build out of the box - compilation issues but I'll look into it |
Checkout rocThrust branch, download submodules. I was able to compile most of the rocThrust examples. Let me know what issues you encounter.
|
wow! this looks so great!! I will try it |
I tried the build, seems there is a error pops when building the examples, but in upstream rocPRIME:
|
Did you build exactly how I did? this should be fixed in the submodules |
I turned on the -DBUILD_EXAMPLES=OFF on thrust build |
a couple of examples fail to build due to a SPIR-V translation error but the atomicAdd was fixed. The issue is that you have a previously installed version which picked is getting picked up. Previous version was built without the atomic fix. Please remove it, and build again - this should build rocPRIM in-tree with the atomic fix. |
I see, will try and report back ! |
No, the patch is in chipStar atomcis, which get copied into rocPRIM headers I believe |
Here is the docker command I am using, I install everything into /usr/local, but seems still throw a function mismatch on
I saw chipStar/include/hip/devicelib/atomics.hh Line 59 in b985dd2
|
Ah - try adding |
after enable this flag, I got a linker error, does that means force enable this cause intwidth issue (could related to my hardware? I am using intel A770 for testing):
I also test the compiled program behavior (the sort exmaples I tested). Seems device_vector is not working correctly. It runs into an OOM when doing H->D(? this doesn't make sense to me). I can dig more into it, do you have some clue what could be the problem?
|
this is a bug in the LLVM -> SPIR-V Translator, filed an issue for it today KhronosGroup/SPIRV-LLVM-Translator#2823 Regarding the test, you didn't specify which sort test you ran.
I'll have to look into this |
I am running the |
Hi:
It's great to see rocPRIM is supported by chipSTAR, does that means rocThrust can also be supported out-of-box?
The text was updated successfully, but these errors were encountered: