Is it possible to create a virtual environment using CUDA?

Unfortunately, I am stuck with julia v1.2.0 for now. I’ll ask our IT if they can update their julia version. But your suggestion worked for me. Many thanks!

julia> mktempdir(tempdir())
"/tmp/jl_SXNP1z"

(v1.2) pkg> activate CUDATestProject
Activating new environment at `~/CUDATestProject/Project.toml`

(CUDATestProject) pkg> add BenchmarkTools
 Resolving package versions...
  Updating `~/CUDATestProject/Project.toml`
  [6e4b80f9] + BenchmarkTools v0.4.3
  Updating `~/CUDATestProject/Manifest.toml`
  [6e4b80f9] + BenchmarkTools v0.4.3
  [682c06a0] + JSON v0.21.0
  [69de0a69] + Parsers v0.3.8
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [de0858da] + Printf
  [9a3f8284] + Random
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [8dfed614] + Test
  [4ec0a83e] + Unicode