- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Elad,
Yes, it is thread safe and you can use it on all threads.
Khang
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page