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 · 1 comment

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).

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

No branches or pull requests

2 participants