-
Notifications
You must be signed in to change notification settings - Fork 43
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
Changes from 4 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
e30d5f8
Use standard reflection instead of ServiceLoader
luca992 5af5239
Convert multik-api, multik-jvm, multik-default to use multiplaform pl…
luca992 22373f3
local
luca992 861affe
Merge branch 'v0.0.2' into multiplatform
luca992 c7b31d3
Don't log error when engine not found
luca992 bf1b95c
remove maven-publish plugins
luca992 2afafd4
remove jvmJar task. Doesn't seem to be needed
luca992 b036f01
use mimalloc for better performance on native targets
luca992 e6e8994
kotlin 1.5.0-rc
luca992 0b47f38
Revert "remove maven-publish plugins"
luca992 2129b24
Fix thread access issues on native
luca992 82f2330
Merge branch 'kotlin_1.5' into multiplatform
luca992 2d21e28
Merge branch 'v0.0.2' into multiplatform
luca992 b92d96b
add js
luca992 81a381c
js fix
luca992 ed48312
kotlin 1.5.31
luca992 4a4bef2
Merge branch 'master' into multiplatform
luca992 27affa0
fix jsTests. use simplified test import
luca992 c35e148
Fix all test for js. Move JvmLinAlgTest to correct commonTest folder
luca992 152a246
reified fixes to determine NDArray data types on JS. JS tests passing ✅
luca992 3b29daf
init engine
luca992 e3f3718
Simplify setting engines/ default engine. Fix loading engine on JS
luca992 a000e29
Merge branch 'v0.0.2' into multiplatform
luca992 c15f219
move new file to common
luca992 693e90c
add import
luca992 adb6c9f
Merge branch 'v0.0.2' into multiplatform
luca992 2af3066
only assign framework name on apple targets. Add mac arm targets
luca992 2cd64aa
multik-native dependency/ import fixes
luca992 98aa736
enable parallel and caching options for gradle to improve compilation…
luca992 e4375d1
UseParallelGC
luca992 b81ad82
Merge branch 'v0.1.0' into multiplatform
luca992 1c65b23
move csv.kt to jvmMain
luca992 2623b93
Merge branch 'v0.1.0' into multiplatform
luca992 cf6f843
Merge branch 'master' into multiplatform
luca992 59f367e
revert re-adding toSortedSet to common
luca992 8c17efb
update names for JS
luca992 4e2281e
handle all datatypes individually and use copy into
luca992 c658044
fixes to make all multik-api tests pass for js
luca992 5fc6f13
more accurate comment
luca992 52ce7b8
Fixes bug causing JvmLinAlgTest tests to fail! Forgot to do size*2 🙃
luca992 bd16c0c
fix for js bug. ++ combined with += causes it to increment twice
luca992 517f53c
not used anymore. remove again
luca992 2471869
revert test parameter to original
luca992 18c997b
update to kotlin 1.6.10, increase js test timeout. fixes JS issues
luca992 31f263d
revert specifying heapsize and using parrallelGC
luca992 b5bcce0
remove -fPIC param
luca992 a4ba607
fix ones functions to actually use ones
luca992 bad9d45
remove unused import
luca992 a31c40b
workaround to not cast enginesProvider
luca992 c0ea58a
revert most reified, create two implementations of toCommonNDArray
luca992 4048af0
us js IR compiler. Resolves one failing test
luca992 827d175
Get the hashCode of the elements in it the array. not the array itself
luca992 493d5e7
remove old duplicate DefaultMath
luca992 c92dabf
move multik-default src/main to src/jvmMain so it actually is built
luca992 bab395f
changes that weren't added to previous commit by accident
luca992 4c728f0
use experimental memory model
luca992 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
kotlin.code.style=official | ||
kotlin.mpp.enableGranularSourceSetsMetadata=true | ||
kotlin.native.enableDependencyPropagation=false | ||
systemProp.kotlinVersion=1.4.32 | ||
multikVersion=0.0.2-SNAPSHOT | ||
systemProp.kotlinVersion=1.5.0-RC | ||
multikVersion=0.0.2-1.5-SNAPSHOT2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
multik-api/src/nativeCommonMain/kotlin/org/jetbrains/kotlinx/multik/api/Engine.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
plugins { | ||
kotlin("multiplatform") | ||
id("maven-publish") | ||
} | ||
|
||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.