Issue 148615
Summary [Offload] Unit tests fail with "Plugin was not initialized!" assertion in `deinit`
Labels new issue
Assignees
Reporter leandrolcampos
    When I try to run the `kernel.unittest` test:

```bash
> ninja -C build/runtimes/runtimes-bins OffloadUnitTests
> ./build/runtimes/runtimes-bins/offload/unittests/OffloadAPI/kernel.unittests
```

I get this error message at the end of the test log:

```bash
kernel.unittests: /home/leandro/llvm-project/offload/plugins-nextgen/common/src/PluginInterface.cpp:1658: Error llvm::omp::target::plugin::GenericPluginTy::deinit(): Assertion `Initialized && "Plugin was not initialized!"' failed.
pure virtual method called
terminate called without an active exception
Aborted (core dumped)
```

The same happens for other tests, like `device.unittests` and `memory.unittests`.

**Environment:**

* Device: CUDA_NVIDIA_GeForce_RTX_4070_Laptop_GPU
* LLVM version: Custom build from git
    * LLVM Project Commit Hash: `2886d30dd68f798deda7093d00bf9fc52dabcdd7`
* Operating System: Ubuntu 24.04.2 LTS (WSL2)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to