Comments (5)
It seems that 'hipCub' needs to installed first
from rocthrust.
Hi @sampie Sorry for the extreme delay in response. If you are using clang directly, then you will need to pass -xhip to the compiler to specify that we are treating source files as HIP language files. And also make sure that you do have rocprim installed in /opt/rocm as well.
from rocthrust.
It did upgrade Ubuntu to 22.04 and rocm to 5.3 and added -xhip parameter (rockprim is also installed), but did not manage to compile the file:
$ clang++ -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm-5.3.0/include -I/opt/rocm-5.3.0/llvm/bin/../lib/clang/15.0.0 -I/opt/rocm-5.3.0/hsa/include -xhip -fPIE -c -std=c++20 -g -O0 Score.cpp
lld: error: undefined symbol: __oclc_ABI_version
referenced by /tmp/Score-fec864/Score-gfx803.o:(__ockl_hostcall_preview)
referenced by /tmp/Score-fec864/Score-gfx803.o:(__ockl_hostcall_preview)
clang: error: amdgcn-link command failed with exit code 1 (use -v to see invocation)
from rocthrust.
I haven't encountered that error before. The only reference I can find online to that is https://docs.olcf.ornl.gov/systems/crusher_quick_start_guide.html#olcfdev-1118-link-errors-with-rocm-5-2-0-and-cce. As per that webpage, can you try using amdclang++ instead, located in /opt/rocm-5.3.0/bin?
from rocthrust.
Closing out as there is no reply from the user
from rocthrust.
Related Issues (20)
- User control of block size in parallel_for for HIP execution policy? HOT 3
- Feature request: Add support for NAVI22 and NAVI23 i.e. gfx1031 and gfx1032 HOT 1
- Multiple errors building tests HOT 1
- More -Wunused-result warnings HOT 2
- Compiling rocThrust with a local test rocPRIM installation for target -1031? HOT 1
- Fixing compile error: no member named 'init_offset_scan_state_kernel' ... ? HOT 3
- How can I set the path etc. to an alternative rocThrust installation to be used by the compiler? HOT 3
- looks like thrust::copy takes too much time. HOT 2
- question about thrust::cuda::par HOT 2
- Slow sort on gfx1036 with custom operator on ROCm 5.6.0 HOT 1
- Missing algorithms
- [Changelog] link not set on Requirements page HOT 2
- rocThrust requirements seem to contradict user guide
- Can't use utility.h in thrust/type_traits/integer_sequence.h HOT 2
- `reduce_by_key` fails with custom reduction HOT 2
- reference to __host__ function 'free'/'malloc' in __host__ __device__ function HOT 4
- [Feature]: Use `AnyNewerVersion` instead of `SameMajorVersion` for CMake compatibility HOT 2
- [Issue]: optional.h uses non-member function with `->` HOT 4
- How to include a custom header library version? HOT 9
- [Documentation]: `thrust::hip::par_nosync` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocthrust.