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

undefined symbol: Tensile::TypedContractionInputs<Tensile::Half>::TypedContractionInputs() #1833

Open
xiakubaobaore opened this issue Nov 30, 2023 · 3 comments

Comments

@xiakubaobaore
Copy link

cmake libTensileHost.a by -DTensile_LIBRARY_FORMAT="msgpack" -DCMAKE_CXX_COMPILER="hipcc".
at datatype=half problem, use "TypedContractionInputs deviceInputs;" init input, then fill data with "deviceInputs.a = reinterpret_castTensile::Half*(d_A);" and "d_A"is "half *".
then error occur:
ld.lld: error: undefined symbol: Tensile::TypedContractionInputs<Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half>::TypedContractionInputs()
ld.lld: error: undefined symbol: Tensile::TypedContractionInputs<Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half, Tensile::Half>::~TypedContractionInputs()
assume it means the "TypedContractionInputs" has no Constructor? but the non-parameter constructor is default generated?

@sparklesea
Copy link

I encountered the same problem, changing TypedContractionInputs to <_Float16, _Float16, _Float16, _Float16, float, float> will pass compilation, but errors are still reported at run time: Segmentation fault (core dumped).

@ppanchad-amd
Copy link

@xiakubaobaore Apologies for the lack of response. Can you please test with the latest ROCm 6.1.2? If issue is resolved, please close the ticket. Thanks!

@huanrwan-amd
Copy link

@xiakubaobaore, @sparklesea can you please share the sample code and steps for us to reproduce the issue? and please also provide information on the hardware and software version you guys are working on. Thanks.

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

No branches or pull requests

4 participants