@Test public void testLoader() throws Exception { Nd4j.dtype = DataBuffer.Type.DOUBLE; KernelFunctionLoader loader = KernelFunctionLoader.getInstance(); loader.load(); ClassPathResource res = new ClassPathResource( "/cudafunctions.properties", KernelFunctionLoader.class.getClassLoader()); if (!res.exists()) throw new IllegalStateException("Please put a cudafunctions.properties in your class path"); Properties props = new Properties(); props.load(res.getInputStream()); loader.unload(); }