public static void initialize ( ) { if ( ! initialized ) { String libraryBaseName = "JCusparse-" + JCuda . getJCudaVersion ( ) ; String libraryName = LibUtils . createPlatformLibraryName ( libraryBaseName ) ; LibUtils . loadLibrary ( libraryName ) ; initialized = true ; } }
Initializes the native library . Note that this method does not have to be called explicitly since it will be called automatically when this class is loaded .