- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi all,
I want to use mkl_jit_create_cgemm on my setup where each thread is pinned to single core.
In each thread I'll do the cgemm with the created Jitter.
Do I need to create jit kernel specific for each thread? or create just 1 and use it on all calling threads?
Elad
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Elad,
You can call mkl_jit_create_cgemm once and use it in all calling threads.
Since generating the jit kernel using this function will involve runtime overhead, you will see performance improve if this kernel gets called several hundred of times.
Best regards,
Khang
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
What about the func pointer that returned by mkl_jit_get_cgemm_ptr ?
It is thread safe?
Can I init single func pointer and use it on all threads?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Elad,
Yes, it is thread safe and you can use it on all threads.
Khang
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla