-
Notifications
You must be signed in to change notification settings - Fork 128
[NDTensors] JLArrays Extension #1508
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
mtfishman
merged 44 commits into
ITensor:main
from
kmp5VT:kmp5/feature/JLArrays_extension
Sep 24, 2024
Merged
Changes from 14 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
fc3ca6c
Start adding JLArrays extension
kmp5VT 0c9aae6
Bump version
kmp5VT 506a071
format
kmp5VT c4dad63
Add JLArrays to test to see what we need to add in NDTensors
kmp5VT f23d305
Add registryt to `TypeParameterAcessors
kmp5VT 822411c
Fix spelling
kmp5VT e213bff
remove unnecessary functions
kmp5VT 7068a63
format
kmp5VT b8b46a3
Remove dir
kmp5VT fd0866e
rename folder
kmp5VT 2caf2d1
[no ci] alphabetize libraries
kmp5VT 9ad5670
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT 0f1f277
Add JLArrays as dep and move CUDA to extras
kmp5VT 95881d5
Moving to make JLArrays always run
kmp5VT 0acdaec
Add cuda to see if theres still issues on Jenkins (my machine is fine)
kmp5VT a4687bd
Fix import
kmp5VT cdee270
Add Extension functions to JLArrays
kmp5VT d0b6a2f
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT d6e675d
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT bdacf0e
Fix the linear algebra and add jl to base tests
kmp5VT d2be3b3
format
kmp5VT 9428514
Try activate before update registry
kmp5VT b3a2d87
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT 9165664
Move cuda back to deps
kmp5VT 1cd131d
There is some issues with JLArrays on lower versions of Julia
kmp5VT 6654671
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT 8a32daf
add back cuda
kmp5VT ad02066
Having JLArrays when testing GPUs creates an issue in test
kmp5VT 8534859
Not using JLArrays in early versions of Julia
kmp5VT e2aa194
Move CUDA to extra
kmp5VT 1078405
Add JLArrays back to deps
kmp5VT f47cf11
Bump CUDA test from 1.6 to 1.8
kmp5VT 094c3e3
Small fix
kmp5VT b751d64
Merge branch 'main' into kmp5/feature/JLArrays_extension
kmp5VT 1a14a33
Sparse arrays compat for lower versions
kmp5VT 0aee394
Allow LinearAlgebr v0
mtfishman 4e5c622
Allow Random v0
mtfishman 1b976d0
Merge remote-tracking branch 'upstream/main' into kmp5/feature/JLArra…
kmp5VT 6027cb6
Update to tests
kmp5VT 12f43cb
typo
kmp5VT 638377c
Remove Jenkins CUDA 1.8
kmp5VT 4208487
Move default_typeparameters to AbstractArray
kmp5VT 14922b1
Remove file
kmp5VT 38092d8
AbstractGPUArrays -> AbstractArray
kmp5VT 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,7 +1,7 @@ | ||
| name = "NDTensors" | ||
| uuid = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf" | ||
| authors = ["Matthew Fishman <[email protected]>"] | ||
| version = "0.3.34" | ||
| version = "0.3.35" | ||
|
|
||
| [deps] | ||
| Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
|
|
@@ -36,6 +36,7 @@ AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | |
| CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
| GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" | ||
| HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" | ||
| JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" | ||
| MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" | ||
| Metal = "dde4c033-4e86-420c-a63e-0dd931031962" | ||
| Octavian = "6fd5a793-0b7e-452c-907f-f8bfe9c57db4" | ||
|
|
@@ -47,6 +48,7 @@ NDTensorsAMDGPUExt = ["AMDGPU", "GPUArraysCore"] | |
| NDTensorsCUDAExt = ["CUDA", "GPUArraysCore"] | ||
| NDTensorsGPUArraysCoreExt = "GPUArraysCore" | ||
| NDTensorsHDF5Ext = "HDF5" | ||
| NDTensorsJLArraysExt = ["GPUArraysCore", "JLArrays"] | ||
| NDTensorsMappedArraysExt = ["MappedArrays"] | ||
| NDTensorsMetalExt = ["GPUArraysCore", "Metal"] | ||
| NDTensorsOctavianExt = "Octavian" | ||
|
|
@@ -70,6 +72,7 @@ GPUArraysCore = "0.1" | |
| HDF5 = "0.14, 0.15, 0.16, 0.17" | ||
| HalfIntegers = "1" | ||
| InlineStrings = "1" | ||
| JLArrays = "0.1" | ||
| LinearAlgebra = "1.6" | ||
| MacroTools = "0.5" | ||
| MappedArrays = "0.4" | ||
|
|
@@ -95,6 +98,7 @@ AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | |
| CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
| GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527" | ||
| HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" | ||
| JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" | ||
| Metal = "dde4c033-4e86-420c-a63e-0dd931031962" | ||
| Octavian = "6fd5a793-0b7e-452c-907f-f8bfe9c57db4" | ||
| TBLIS = "48530278-0828-4a49-9772-0f3830dfa1e9" | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| module NDTensorsJLArraysExt | ||
| include("set_types.jl") | ||
| end |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # TypeParameterAccessors definitions | ||
| using NDTensors.TypeParameterAccessors: TypeParameterAccessors, Position | ||
| using JLArrays: JLArray | ||
|
|
||
| function TypeParameterAccessors.default_type_parameters(::Type{<:JLArray}) | ||
| return (Float64, 1) | ||
| end |
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
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.