SIGN IN SIGN UP

opencl: refactor backend initilization (llama/23318)

* opencl: refactor initialization

* opencl: refactor GPU identification

* opencl: rename for consistency

* opencl: cache global mem size in dev_ctx

* opencl: adjust log level

* opencl: load argsort and flash_attn kernels in supports_op

* argsort kernel must be built for supports_op for querying the max
  workgroups
* flash_attn kernel has many variants, only load them when needed
L
lhez committed
896718eacf0fd975368784a917d2e4d1856a6e70
Parent: ad717a6
Committed by Georgi Gerganov <ggerganov@gmail.com> on 5/25/2026, 9:26:07 AM