Open gaikwadrahul8 opened 3 days ago
This issue originally reported by @misterBart has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.13
Custom code
No
OS platform and distribution
Windows 10 Pro
Mobile device
No response
Python version
3.11.4
Bazel version
No response
GCC/compiler version
Microsoft Visual Studio 2022 C++ compiler
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I built TfLite with
-DTFLITE_ENABLE_GPU=ON
. I tried to test TfLite with GPU, but the minimal-working C++ example for the GPU from https://www.tensorflow.org/lite/android/delegates/gpu_native does not work under Windows 10 with Visual Studio 2022. I receive the linker errorerror LNK2001: unresolved external symbol __imp_TfLiteGpuDelegateV2Create
. I randumpbin
ontensorflow-lite.lib
and it says a static fuctionTfLiteGPUDelegateV2Create
does exist. I tried a different Windows 10 machine with Visual Studio 2019, but I receive the same linker error. I got the example working under Ubuntu Linux 23.04 with gcc12 using the same build commands (except from replacing the Windows specifics with Linux specifics of course).Standalone code to reproduce the issue
Relevant log output