Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Yizhi Liu 48fd9e461e [tvm4j] disable proxy test for now (#307) 2017-08-10 09:36:22 -07:00
Yizhi Liu 7d67e473d6 [tvm4j] RPC Server (#268)
* [tvm4j] RPC Server

* [tvm4j] fix recursively function calling; connect to proxy server; osx rename .so to .dylib

* [tvm4j] test case for proxy connection; thread pool for serving
2017-08-08 10:23:17 -07:00
Tianqi Chen d3b8c869cd [TEST] Fix java compilation (#279) 2017-07-27 08:33:32 -07:00
Yizhi Liu 68c4400e1c [tvm4j] register user-defined function (#251)
* [tvm4j] register user-defined function

* [tvm4j] define java function (pushArgToStack) to convert arguments to C TVMValue

* [tvm4j] make Module & Function extends TVMValue

* [tvm4j] make registered cb function return Object

* [tvm4j] add cb finalizer; add TVMValueBytes

* [tvm4j] support NDArrayBase cb arg

* [tvm4j] register cb function unit tests

* [tvm4j] pass Function.Callback to resource_handle

* [tvm4j] fix type cast
2017-07-20 10:28:40 -07:00
Yizhi Liu d3efd7fc35 [WIP][Frontend] Scala/Java package (#176)
* JVM package skeleton

* [JVM] link libtvm.so and list function names

* [JVM] Function & NDArray skeleton

* [JVM] TVMFuncCall in JNI

* [JVM] handle string arg in TVMFuncCall

* [JVM] get module function

* [JVM] entry function for Module

* [JVM] construct Module from function return value

* [JVM] TVMContext, TVMArray attributes

* [JVM] NDArray from / to java array

* [JVM] load so and compute on cpu

* [JVM] move PackedFunc to individual modules

* [JVM] assembly package & native library loader

* [JVM] unit test & codestyle check settings

* [JVM] NDArray from & to different dtypes

* [JVM] NDArray from native double array. Add linux-cpu profile.

* [JVM] modify Makefile

* [JVM] add linux-x86_64-gpu profile

* [tvm4j] delay load libtvm_runtime.so

* [tvm4j] refactor to pure java

* [tvm4j] remove scalastyle-config.xml

* [tvm4j] remove link HalideIR, remove Shape, remove scala binary versions

* [tvm4j] only allow convert from/to same type array

* [tvm4j] make NDArray api more readable

* [tvm4j] refactor for c api

* [tvm4j] add Jenkins tests

* [tvm4j] fix duplicate Dockerfile cmd

* [tvm4j] fix ut script filename

* [tvm4j] add module load tests

* [tvm4j] add javadoc, remove types package

* [tvm4j] fix test script

* [tvm4j] remove ut temp dir

* [tvm4j] fix missing package types

* [tvm4j] java code style check

* [tvm4j] fix java lint

* [tvm4j] downgrade checkstyle plugin for JDK7

* [tvm4j] add stylecheck in jenkins tests

* [tvm4j] specify source file encoding

* [tvm4j] lazy init function; add Function.call() api; allow manully release Module,NDArray,Function

* [tvm4j] fix ModFree

* [tvm4j] cache Function in API
2017-07-14 23:04:39 -07:00