Skip to content

Convert multik-api, multik-jvm, multik-default to use multiplaform. Add native and js targets for multik-jvm #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 56 commits into from
Jan 13, 2022
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
e30d5f8
Use standard reflection instead of ServiceLoader
luca992 Apr 25, 2021
5af5239
Convert multik-api, multik-jvm, multik-default to use multiplaform pl…
luca992 Apr 25, 2021
22373f3
local
luca992 Apr 26, 2021
861affe
Merge branch 'v0.0.2' into multiplatform
luca992 Apr 26, 2021
c7b31d3
Don't log error when engine not found
luca992 Apr 27, 2021
bf1b95c
remove maven-publish plugins
luca992 Apr 27, 2021
2afafd4
remove jvmJar task. Doesn't seem to be needed
luca992 Apr 27, 2021
b036f01
use mimalloc for better performance on native targets
luca992 Apr 27, 2021
e6e8994
kotlin 1.5.0-rc
luca992 Apr 27, 2021
0b47f38
Revert "remove maven-publish plugins"
luca992 Apr 27, 2021
2129b24
Fix thread access issues on native
luca992 May 6, 2021
82f2330
Merge branch 'kotlin_1.5' into multiplatform
luca992 Sep 22, 2021
2d21e28
Merge branch 'v0.0.2' into multiplatform
luca992 Sep 22, 2021
b92d96b
add js
luca992 Sep 22, 2021
81a381c
js fix
luca992 Sep 22, 2021
ed48312
kotlin 1.5.31
luca992 Sep 22, 2021
4a4bef2
Merge branch 'master' into multiplatform
luca992 Sep 22, 2021
27affa0
fix jsTests. use simplified test import
luca992 Sep 22, 2021
c35e148
Fix all test for js. Move JvmLinAlgTest to correct commonTest folder
luca992 Sep 22, 2021
152a246
reified fixes to determine NDArray data types on JS. JS tests passing ✅
luca992 Sep 23, 2021
3b29daf
init engine
luca992 Sep 23, 2021
e3f3718
Simplify setting engines/ default engine. Fix loading engine on JS
luca992 Sep 23, 2021
a000e29
Merge branch 'v0.0.2' into multiplatform
luca992 Sep 23, 2021
c15f219
move new file to common
luca992 Sep 23, 2021
693e90c
add import
luca992 Sep 23, 2021
adb6c9f
Merge branch 'v0.0.2' into multiplatform
luca992 Sep 27, 2021
2af3066
only assign framework name on apple targets. Add mac arm targets
luca992 Sep 29, 2021
2cd64aa
multik-native dependency/ import fixes
luca992 Sep 29, 2021
98aa736
enable parallel and caching options for gradle to improve compilation…
luca992 Sep 29, 2021
e4375d1
UseParallelGC
luca992 Sep 29, 2021
b81ad82
Merge branch 'v0.1.0' into multiplatform
luca992 Sep 29, 2021
1c65b23
move csv.kt to jvmMain
luca992 Sep 29, 2021
2623b93
Merge branch 'v0.1.0' into multiplatform
luca992 Dec 14, 2021
cf6f843
Merge branch 'master' into multiplatform
luca992 Dec 14, 2021
59f367e
revert re-adding toSortedSet to common
luca992 Dec 14, 2021
8c17efb
update names for JS
luca992 Dec 14, 2021
4e2281e
handle all datatypes individually and use copy into
luca992 Dec 15, 2021
c658044
fixes to make all multik-api tests pass for js
luca992 Dec 15, 2021
5fc6f13
more accurate comment
luca992 Dec 15, 2021
52ce7b8
Fixes bug causing JvmLinAlgTest tests to fail! Forgot to do size*2 🙃
luca992 Dec 15, 2021
bd16c0c
fix for js bug. ++ combined with += causes it to increment twice
luca992 Dec 15, 2021
517f53c
not used anymore. remove again
luca992 Dec 15, 2021
2471869
revert test parameter to original
luca992 Dec 15, 2021
18c997b
update to kotlin 1.6.10, increase js test timeout. fixes JS issues
luca992 Dec 15, 2021
31f263d
revert specifying heapsize and using parrallelGC
luca992 Dec 20, 2021
b5bcce0
remove -fPIC param
luca992 Dec 20, 2021
a4ba607
fix ones functions to actually use ones
luca992 Dec 20, 2021
bad9d45
remove unused import
luca992 Dec 20, 2021
a31c40b
workaround to not cast enginesProvider
luca992 Dec 20, 2021
c0ea58a
revert most reified, create two implementations of toCommonNDArray
luca992 Dec 22, 2021
4048af0
us js IR compiler. Resolves one failing test
luca992 Dec 22, 2021
827d175
Get the hashCode of the elements in it the array. not the array itself
luca992 Dec 22, 2021
493d5e7
remove old duplicate DefaultMath
luca992 Dec 29, 2021
c92dabf
move multik-default src/main to src/jvmMain so it actually is built
luca992 Dec 29, 2021
bab395f
changes that weren't added to previous commit by accident
luca992 Dec 29, 2021
4c728f0
use experimental memory model
luca992 Dec 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't log error when engine not found
  • Loading branch information
luca992 committed Apr 27, 2021
commit c7b31d3796503f01c351f23fabc63a15fa0369af
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ public actual val enginesProvider : Set<Engine> get() {
try {
val instance = Class.forName(e).kotlin.createInstance() as Engine
engines.add(instance)
} catch (t: Throwable){
print(t.message)
t.printStackTrace()
}
} catch (t: Throwable){ }
}
return engines.toSet()
}
Expand Down