Created
February 11, 2023 10:57
-
-
Save haydnv/aee35092aa361fcc83d5bef743609cc2 to your computer and use it in GitHub Desktop.
custos-math with opencl feature
This file contains 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
# cargo test --features=opencl | |
Updating crates.io index | |
Downloaded custos v0.6.2 | |
Downloaded 1 crate (107.3 KB) in 0.98s | |
Compiling custos v0.6.2 | |
Compiling custos-math v0.6.2 (/root/crate/custos-math) | |
error[E0425]: cannot find function `construct_buffer` in module `custos::opencl` | |
--> src/opencl.rs:95:29 | |
| | |
95 | custos::opencl::construct_buffer(device, no_drop.to_buf(), matrix.node.idx) | |
| ^^^^^^^^^^^^^^^^ not found in `custos::opencl` | |
error[E0425]: cannot find function `construct_buffer` in module `custos::opencl` | |
--> src/opencl.rs:167:29 | |
| | |
167 | custos::opencl::construct_buffer(device, no_drop.to_buf(), (lhs.node.idx, rhs.node.idx)) | |
| ^^^^^^^^^^^^^^^^ not found in `custos::opencl` | |
warning: the item `SumOverOps` is imported redundantly | |
--> src/ops/nn/softmax.rs:159:31 | |
| | |
7 | matrix_multiply::MatrixMultiply, ColOp, FnsOps, Matrix, MaxOps, SumOverOps, | |
| ---------- the item `SumOverOps` is already imported here | |
... | |
159 | use crate::{cl_tew, Gemm, SumOverOps}; | |
| ^^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused imports: `Dim2`, `GenericBlas`, `MayDim2` | |
--> src/ops/gemm.rs:1:34 | |
| | |
1 | use custos::{impl_stack, Device, Dim2, GenericBlas, MainMemory, MayDim2, Shape, CPU}; | |
| ^^^^ ^^^^^^^^^^^ ^^^^^^^ | |
warning: unused import: `number::Number` | |
--> src/ops/max.rs:2:14 | |
| | |
2 | use custos::{number::Number, CDatatype, Device, MainMemory, CPU}; | |
| ^^^^^^^^^^^^^^ | |
# cargo test --features=opencl | |
Updating crates.io index | |
Downloaded custos v0.6.2 | |
Downloaded 1 crate (107.3 KB) in 0.98s | |
Compiling custos v0.6.2 | |
Compiling custos-math v0.6.2 (/root/crate/custos-math) | |
error[E0425]: cannot find function `construct_buffer` in module `custos::opencl` | |
--> src/opencl.rs:95:29 | |
| | |
95 | custos::opencl::construct_buffer(device, no_drop.to_buf(), matrix.node.idx) | |
| ^^^^^^^^^^^^^^^^ not found in `custos::opencl` | |
error[E0425]: cannot find function `construct_buffer` in module `custos::opencl` | |
--> src/opencl.rs:167:29 | |
| | |
167 | custos::opencl::construct_buffer(device, no_drop.to_buf(), (lhs.node.idx, rhs.node.idx)) | |
| ^^^^^^^^^^^^^^^^ not found in `custos::opencl` | |
warning: the item `SumOverOps` is imported redundantly | |
--> src/ops/nn/softmax.rs:159:31 | |
| | |
7 | matrix_multiply::MatrixMultiply, ColOp, FnsOps, Matrix, MaxOps, SumOverOps, | |
| ---------- the item `SumOverOps` is already imported here | |
... | |
159 | use crate::{cl_tew, Gemm, SumOverOps}; | |
| ^^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused imports: `Dim2`, `GenericBlas`, `MayDim2` | |
--> src/ops/gemm.rs:1:34 | |
| | |
1 | use custos::{impl_stack, Device, Dim2, GenericBlas, MainMemory, MayDim2, Shape, CPU}; | |
| ^^^^ ^^^^^^^^^^^ ^^^^^^^ | |
warning: unused import: `number::Number` | |
--> src/ops/max.rs:2:14 | |
| | |
2 | use custos::{number::Number, CDatatype, Device, MainMemory, CPU}; | |
| ^^^^^^^^^^^^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment