Skip to content
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

[Build] #14471

Open
hpz4311 opened this issue Jan 30, 2023 · 1 comment
Open

[Build] #14471

hpz4311 opened this issue Jan 30, 2023 · 1 comment
Labels
build build issues; typically submitted using template ep:ROCm questions/issues related to ROCm execution provider

Comments

@hpz4311
Copy link

hpz4311 commented Jan 30, 2023

Describe the issue

I am building with rocm ep, on tag v1.7.0, in the final onnxruntime.so,I get a undefined error of OrtSessionOptionsAppendExecutionProvider_ROCM. it seems in the .h the api have three peremeters, but in the .cc, there is only two, just ignored the hip_mem_limit.
when I try to fix this error, in the .cc, I add the hip_mem_limit to keep consistent with the .h, but when linking I get lots of error like undefined reference to onnxruntime::common::status::status(onnxruntime::common::statusCategory, int, std::string const&)
can anyone help

Urgency

No response

Target platform

amd

Build script

sh ./build.sh --config Release --parallel --skip-keras-test --build_shared_lib --skip_submodule_sync --skip_tests --use_rocm --rocm_home $path

Error / output

concatip’t.cu:(.text+Ox6OO): undefined reference to onnxruntime: :common: :Status: :Status(onnxruntime: :common: :StatusC ategory. int, std::string const&)
expand_impl.cu:(.text+0xc26): undefined reference to onnxruntime: :coIon: :Status: :Status(onnxruntime: :common: :StatusC ategory. int. std::string const&)’
expand_impl.cu:(.text+Oxfc8): undefined reference to onnxruntime: :comion: :Status: :Status(onnxruntie: :common: :StatusC ategory. int. std::string const&)’

Visual Studio Version

No response

GCC / Compiler Version

7.3

@hpz4311 hpz4311 added the build build issues; typically submitted using template label Jan 30, 2023
@github-actions github-actions bot added the ep:ROCm questions/issues related to ROCm execution provider label Jan 30, 2023
@cloudhan
Copy link
Contributor

Could try a new version first. The v1.7.0 is about 2 years ago. At that time, there is not much effort put into maintaining ROCm EP. ROCm EP only gets rid of experimental status recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template ep:ROCm questions/issues related to ROCm execution provider
Projects
None yet
Development

No branches or pull requests

2 participants