-
Notifications
You must be signed in to change notification settings - Fork 129
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
[Issue]: Error linking ckProfiler #1581
Comments
Hi @RandUser123sa, can you provide some more info on your problem and configuration?
|
Hi @schung-amd, I'm not using docker. |
Do you really need all those architectures? |
In addition to using |
Problem Description
Hello,
I'm unable to compile the composable_kernel on my favorite OS. Composable kernel version 6.2.2 and probably 6.2.1 did not compile, version 6.2.0 worked.
Here is my configure params:
cmake
-Wno-dev
-D CMAKE_HIP_COMPILER_ROCM_LIB=/opt/rocm/lib
-D HIP_LANG=/opt/rocm/lib64
-D CMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_INSTALL_PREFIX=/opt/rocm
-D CMAKE_HIP_ARCHITECTURES="gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx940;gfx941;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102"
-D BUILD_DEV=OFF
-D BUILD_TESTING=OFF
-D USE_OPT_GFX11=ON
-G Ninja
..
and the error is receiving when the compilation process link ckProfiler. The same error with Ninja or without it. The error is:
[380/384] Linking CXX executable bin/ckProfiler
FAILED: bin/ckProfiler
-o bin/ckProfiler -Wl,-rpath,::::::::::::::::::::::::::::::::::::::::::::::::::: lib/libutility.a /opt/rocm/lib64/libamdhip64.so.6.2.41134 --hip-link --offload-arch=gfx1100 /opt/rocm/lib/llvm/lib/clang/18/lib/linux/libclang_rt.builtins-x86_64.a && :
ld.lld: error: undefined symbol: ck::tensor_operation::device::instance::add_device_grouped_conv1d_bwd_weight_xdl_gnwc_gkxc_gnwk_f32_instances(std::vector<std::unique_ptr<ck::tensor_operation::device::DeviceGroupedConvBwdWeight<1, ck::tensor_layout::convolution::GNWC, ck::tensor_layout::convolution::GKXC, ck::tensor_layout::convolution::GNWK, float, float, float, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, float, float>, std::default_delete<ck::tensor_operation::device::DeviceGroupedConvBwdWeight<1, ck::tensor_layout::convolution::GNWC, ck::tensor_layout::convolution::GKXC, ck::tensor_layout::convolution::GNWK, float, float, float, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, float, float>>>, std::allocator<std::unique_ptr<ck::tensor_operation::device::DeviceGroupedConvBwdWeight<1, ck::tensor_layout::convolution::GNWC, ck::tensor_layout::convolution::GKXC, ck::tensor_layout::convolution::GNWK, float, float, float, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, float, float>, std::default_delete<ck::tensor_operation::device::DeviceGroupedConvBwdWeight<1, ck::tensor_layout::convolution::GNWC, ck::tensor_layout::convolution::GKXC, ck::tensor_layout::convolution::GNWK, float, float, float, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, ck::tensor_operation::element_wise::PassThrough, float, float>>>>>&)
Operating System
Slackware 15.0 x86_64
CPU
AMD Ryzen 7 3800X 8-Core Processor
GPU
AMD Radeon RX 7900 XT
Other
No response
ROCm Version
ROCm 6.0.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
error.log
The text was updated successfully, but these errors were encountered: