charles-r-earp

Results 13 issues of charles-r-earp

AMD's HIP library offers at least a subset of CUDA operations, many of which have similar name and API. How feasible would it be to add this as a feature,...

[shaderc](https://github.com/google/shaderc-rs) has a compiler option [set_autobind_uniforms](https://docs.rs/shaderc/latest/shaderc/struct.CompileOptions.html#method.set_auto_bind_uniforms) which allows bindings to be omitted. This would look like this: ``` #[spirv(compute(threads(64)))] pub fn main_cs( #[spirv(global_invocation_id)] id: UVec3, #[spirv(storage_buffer)] prime_indices: &mut [u32], )...

t: enhancement

# Summary This proposal attempts to address #232, #180, and #8. StorageBuffers, aka Buffer Blocks, are the primary inputs / outputs to compute shaders, though they can also be used...

t: design
mcp: rfc needed

Currently SpatialDims::from(n: isize) would assert n > 0. This would disallow a 0 sized offset, and was only for isize, not for any other type. I changed this to call...

Adds `AsPrimitive` for bf16 and `AsPrimitive` for f16.

Initializing arrays seems to replace 0i32 with 0u32 when using [0i32; N]. Example (see https://github.com/charles-r-earp/rust-gpu/tree/array-init for compiletests). ``` ; SPIR-V ; Version: 1.3 ; Generator: Google rspirv; 0 ; Bound:...

t: bug

The debug_printf and debug_printfln macros generate an invocation of the asm macro, which requires an unsafe block. However, the macro appears to validate it's input, so it could potentially add...

t: enhancement

### Problem Cargo no longer respects "package.rust-version" when generating a lockfile with `-Zmsrv-policy`. 1.78.0-nightly works correctly. The issue appears with nightly-2024-04-21 (80d5b607d 2024-04-19). ### Steps Install 1.78.0-nightly, 1.79.0-nightly, 1.70.0: ```...

C-bug
S-needs-info

/claim #3333 Based on feedback from #4032, reduce the scope of the changes to just vector_storage, not change data_types::vectors::VectorElementType. All changes within segment crate. Changes are not visible outside segment,...

/claim #3333 # Tasks - [x] Add f16 feature to segment crate, which switches VectorElementType to half::f16. - [ ] Resolve test failures. - filtrable_hnsw_test::test_filterable_hnsw::case_1_nearest - filtrable_hnsw_test::test_filterable_hnsw::case_2_discovery - filtrable_hnsw_test::test_filterable_hnsw::case_3_recommend -...

🙋 Bounty claim