Skip to content
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

Lifetime/lazy #57

Merged
merged 32 commits into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1dd80e4
Add add_op2 to AddOperation
elftausend Jul 16, 2024
c1ff25f
Merge branch 'main' into lifetime/lazy
elftausend Jul 16, 2024
0d54d19
Add another lifetime param to Replicate
elftausend Jul 23, 2024
a985577
Use transmute for extending lifetime in replication
elftausend Jul 23, 2024
79a856c
Add owned replicate to AnyOp, Add 'a to ApplyFn
elftausend Jul 23, 2024
801c415
Update add_op
elftausend Jul 24, 2024
cc115c6
Remove usages of old LazyGraph
elftausend Jul 24, 2024
0d81aa7
Remove old LazyGraph
elftausend Jul 24, 2024
c1d3191
Remove UpdateArgs
elftausend Jul 24, 2024
53f21cb
Remove custom_device.rs
elftausend Jul 24, 2024
00a0b45
Remove custom_device.rs example link in Cargo.toml
elftausend Jul 24, 2024
9843e15
Bump rust-version to 1.79
elftausend Jul 24, 2024
a42bb4b
Remove add_op2, add_operation2, convert_to_operation2
elftausend Jul 24, 2024
b75b5dc
Add const { assert .. } to StackArray
elftausend Jul 24, 2024
11e442b
Fix compile time error on stack array length 0
elftausend Jul 24, 2024
310c6d6
Adapt cuda add_ops
elftausend Jul 24, 2024
9af29b2
Fix vulkan add op
elftausend Jul 24, 2024
15effb7
Remove deref inside unified cl cond try_cl_apply_fn_mut
elftausend Jul 24, 2024
578bcb2
Adapt cuda add_op test in lazy.rs
elftausend Jul 24, 2024
df92268
Add Operation::no_op
elftausend Jul 24, 2024
ebadc32
Remove lifetime parameter from LazyGraph
elftausend Jul 24, 2024
c1b8e88
Remove lifetimes from lazygraph usages
elftausend Jul 24, 2024
c4c20ef
Add ops_to_fuse arg to unary_fuse_op, fix
elftausend Jul 24, 2024
fe19c9e
Add device param to LazyGraph operation, update device in replicated …
elftausend Jul 25, 2024
d94c367
Remove device from buffer when registering
elftausend Jul 25, 2024
a3b7a3f
Add lifetime to Lazy
elftausend Jul 25, 2024
626bc1a
Add OnNewBuffer2
elftausend Jul 25, 2024
35a81d9
Add unsafe to on_new_buffer
elftausend Jul 28, 2024
39f2794
Merge pull request #58 from elftausend/lifetime/lazy-provide-device
elftausend Jul 28, 2024
71c8320
Fix fusing -> move arg ids to callback params in replication fn
elftausend Jul 28, 2024
a695bc3
Fix nnapi
elftausend Jul 28, 2024
ead92d6
Merge pull request #59 from elftausend/lifetime/lazy-provide-device
elftausend Jul 28, 2024
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
10 changes: 3 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/elftausend/custos"
keywords = ["gpu", "autodiff", "arrays", "deep-learning", "fixed-size"]
categories = ["science", "mathematics", "no-std", "external-ffi-bindings"]
readme = "README.md"
rust-version = "1.70"
rust-version = "1.79"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down Expand Up @@ -53,8 +53,8 @@ min-cl = { git = "https://github.com/elftausend/min-cl", optional = true }
[features]
# default = ["cpu", "opencl", "cuda", "blas", "static-api", "stack", "macro", "nnapi", "untyped", "autograd", "autograd", "cached", "lazy", "fork", "graph", "serde"]
# default = ["no-std"]
default = ["no-std"]
# default = ["untyped", "cpu", "lazy", "graph", "autograd", "fork", "serde", "json", "half", "cached", "static-api", "stack", "opencl", "cuda", "vulkan"]
# default = [ "cpu", "lazy", "autograd", "graph"]
default = ["nnapi", "untyped", "cpu", "lazy", "graph", "autograd", "fork", "serde", "json", "half", "cached", "static-api", "stack", "opencl", "cuda", "vulkan"]


std = []
Expand Down Expand Up @@ -98,10 +98,6 @@ serde_test = "1"
name = "cuda_usage"
required-features = ["cuda"]

[[example]]
name = "custom_device"
required-features = ["cpu", "autograd"]

[[example]]
name = "cpu_usage"
required-features = ["cpu"]
Expand Down
Loading
Loading