Pascal
65840ed53c
ggml: fix CLAMP on non-contiguous views (CPU, CUDA) ( #29517 )
...
* ggml: fix CLAMP on non-contiguous views (CPU, CUDA)
CUDA clamped ggml_nelements values flat and ignored the view strides.
CPU addressed row j as j*nb01 and ignored nb02/nb03. Both now follow the
strides of dims 1..3; CUDA supports_op requires contiguous rows, like
Metal. test_clamp gains a non-contiguous view case.
* cuda: clamp kernel uses fastdiv for the view strides
2026-10-06 16:18:34 +02:00
..
2026-10-01 08:35:01 +03:00
2026-10-02 11:08:08 +03:00
2026-10-06 16:18:34 +02:00
2026-10-06 16:18:34 +02:00
2026-10-02 11:08:08 +03:00
2026-10-05 17:42:40 -07:00
2026-10-06 13:53:00 +02:00
2026-10-06 16:40:16 +03:00
2026-09-09 12:50:08 +02:00
2026-10-02 11:18:51 +03:00
2026-10-06 09:57:04 +03:00
2026-10-02 11:08:08 +03:00
2026-10-02 11:14:35 +03:00
2026-10-02 11:08:08 +03:00
2026-10-06 15:28:54 +02:00
2026-10-05 08:56:45 +02:00
2026-10-02 11:08:08 +03:00
2026-08-20 15:42:26 +02:00
2026-09-04 10:28:23 +02:00
2026-10-02 11:08:08 +03:00
2026-01-29 12:33:21 -08:00
2026-01-29 12:33:21 -08:00
2026-10-02 11:08:08 +03:00
2026-10-02 11:08:08 +03:00
2026-09-04 10:24:06 +03:00
2026-10-06 10:59:45 +03:00
2026-08-31 14:33:50 -04:00
2026-08-13 07:57:24 +03:00
2026-09-08 09:06:24 +03:00
2026-04-08 17:40:15 +02:00
2026-10-02 17:37:35 +03:00
2026-07-07 12:05:47 -07:00
2024-11-14 18:04:35 +01:00
2024-12-12 19:02:49 +01:00
2026-09-04 10:28:23 +02:00
2026-09-30 17:59:00 +03:00
2025-06-01 13:43:57 +03:00
2026-09-30 17:59:00 +03:00