| 374 | } |
| 375 | |
| 376 | static wgpu::Buffer ggml_webgpu_tensor_buf(const ggml_tensor * tensor) { |
| 377 | ggml_backend_webgpu_buffer_context * ctx = (ggml_backend_webgpu_buffer_context *) tensor->buffer->context; |
| 378 | return ctx->buffer; |
| 379 | } |
| 380 | |
| 381 | static size_t ggml_webgpu_tensor_misalignment(webgpu_context & ctx, const ggml_tensor * t) { |
| 382 | size_t offset = ggml_webgpu_tensor_offset(t); |
no outgoing calls
no test coverage detected