Browse Source

improve cuda logging (#1154)

Hoildkv 3 years ago
parent
commit
0e31570a2d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/c/cuda/xmake.lua

+ 1 - 0
packages/c/cuda/xmake.lua

@@ -26,6 +26,7 @@ package("cuda")
         
                 for _, util in ipairs(utils) do
                     if not find_library(util, cuda.linkdirs) then
+                        wprint(format("The library %s for %s is not found!", util, package:arch()))
                         return
                     end
                     table.insert(result.links, util)