zhztheplayer commented on code in PR #9559:
URL: https://github.com/apache/incubator-gluten/pull/9559#discussion_r2079316808


##########
backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala:
##########
@@ -204,9 +204,17 @@ class VeloxListenerApi extends ListenerApi with Logging {
     if (StringUtils.isNotBlank(libPath)) { // Path based load. Ignore all 
other loadees.
       JniLibLoader.loadFromPath(libPath)
     } else {
+      if (
+        conf.getBoolean(
+          GlutenConfig.COLUMNAR_CUDF_ENABLED.key,
+          GlutenConfig.COLUMNAR_CUDF_ENABLED.defaultValue.get)
+      ) {
+        loader.load(s"$platformLibDir/${System.mapLibraryName("cudf")}")
+      }

Review Comment:
   This is like what we had done with the shared lib loaders, for example 
https://github.com/apache/incubator-gluten/blob/main/backends-velox/src/main/scala/org/apache/gluten/utils/SharedLibraryLoaderUbuntu2004.scala.
   
   Are we able to unify the libcudf loading code into another shared library 
loader?
   
   BTW, is there a static cudf distribution provided by vcpkg?
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to