]>
git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
metal : add POOL2D and fix IM2COL (llama/9943)
* add pool_2d
Signed-off-by: Junhee Yoo <redacted>
* fix im2col and add unittest for N>=1024
Signed-off-by: Junhee Yoo <redacted>
* add tests for N % 1024 != 0
Signed-off-by: Junhee Yoo <redacted>
* remove trailing whitespaces
Signed-off-by: Junhee Yoo <redacted>
* apply suggestions
Signed-off-by: Junhee Yoo <redacted>
* apply more optimization
- original IM2COL kernel + _ext with MIN()
Signed-off-by: Junhee Yoo <redacted>
* apply review: change kernel name of pool_2d
Signed-off-by: Junhee Yoo <redacted>
* apply review
Signed-off-by: Junhee Yoo <redacted>
* fix more formatting and enhance readability
Signed-off-by: Junhee Yoo <redacted>
---------
Signed-off-by: Junhee Yoo <redacted>