# Error in CUDA testing in VSCode

**URL:** <https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023>\
**Category:** New to Julia\
**Tags:** question, package, gpu, vscode\
**Created:** [April 4, 2022, 11:14pm UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023 "2022-04-04T23:14:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThePinkPanzer](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@ThePinkPanzer](https://discourse.julialang.org/u/ThePinkPanzer)\
**Post date:** [April 4, 2022, 11:14pm UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/1 "2022-04-04T23:14:51Z")

</div>

I’ve been trying to set up CUDA.jl, and installed it using Pkg.add(“CUDA”). In the Julia command line it works, but in VSCode when I run the tests it throws up the following error:

```julia
ERROR: LoadError: LoadError: could not load library "C:[...]\.julia\artifacts\39d2e5fe26ace445875427cbc53b9381b9092987\bin\libLLVMExtra-13.dll"
The specified module could not be found.

```

The file is there, though, and it works in the command line so is there something more I have to do for VS code to be happy with CUDA?

Thanks for any suggestions!

Edit: I reinstalled Julia and now it works, I don’t know what was wrong initially.

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [April 5, 2022, 6:09am UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/2 "2022-04-05T06:09:55Z")

</div>

Which version of Julia are you using, and which version of LLVM.jl?

---

<div class="post-metadata">

**Author:** ![ThePinkPanzer](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@ThePinkPanzer](https://discourse.julialang.org/u/ThePinkPanzer)\
**Post date:** [April 5, 2022, 9:11am UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/3 "2022-04-05T09:11:17Z")

</div>

I believe it’s LLVM 13 and Julia 1.6.15

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [April 5, 2022, 9:15am UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/4 "2022-04-05T09:15:14Z")

</div>

That’s an impossible combination. If you’re using a system LLVM build, that’s unsupported, and you should use the official binaries.

---

<div class="post-metadata">

**Author:** ![ThePinkPanzer](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@ThePinkPanzer](https://discourse.julialang.org/u/ThePinkPanzer)\
**Post date:** [April 5, 2022, 1:32pm UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/5 "2022-04-05T13:32:14Z")

</div>

Sorry, I think I misinterpreted something then. I’m using the default LLVM for Julia 1.6.15

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [April 5, 2022, 1:33pm UTC](https://discourse.julialang.org/t/error-in-cuda-testing-in-vscode/79023/6 "2022-04-05T13:33:45Z")

</div>

There is no Julia 1.6.15. What’s the output of `versioninfo()`?
