This repository was archived by the owner on Jan 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -857,11 +857,14 @@ JIT::JIT(const std::string &libidtr)
857857 if (!gpuxlibstr.empty ()) {
858858 _gpulib = std::string (gpuxlibstr);
859859 } else {
860- auto imexRoot = get_text_env (" IMEXROOT" );
861- imexRoot = !imexRoot.empty () ? imexRoot : std::string (CMAKE_IMEX_ROOT );
862- _gpulib = imexRoot + " /lib/liblevel-zero-runtime.so" ;
860+ // auto imexRoot = get_text_env("IMEXROOT");
861+ // imexRoot = !imexRoot.empty() ? imexRoot : std::string(CMAKE_IMEX_ROOT);
862+ // _gpulib = imexRoot + "/lib/liblevel-zero-runtime.so";
863+ // _gpulib = imexRoot + "/lib/liblevel-zero-runtime.so";
864+ // for nv gpu
865+ _gpulib = mlirRoot + " /lib/libmlir_cuda_runtime.so" ;
863866 if (!std::ifstream (_gpulib)) {
864- throw std::runtime_error (" Cannot find liblevel-zero-runtime.so " );
867+ throw std::runtime_error (" Cannot find lib: " + _gpulib );
865868 }
866869 }
867870 _sharedLibPaths = {_crunnerlib.c_str (), _runnerlib.c_str (),
You can’t perform that action at this time.
0 commit comments