-
Hi, Is there any log that I can activate to make sure that parallel code is actually running in parallel and that is running on GPU? Thank you in advance for your help, |
Beta Was this translation helpful? Give feedback.
Answered by
jjfumero
Dec 5, 2023
Replies: 1 comment 5 replies
-
Hello @MLobatoR, you can use the
with the above debug output you can verify that you code is running in parallel on your available device. This is an example usage of the above-mentioned flag:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @MLobatoR ,
to be more precise, you need to look at the
Global work size :
field of the--theadInfo
option.This value indicates the number of threads that were launched on the device. If > 1, then it ran in parallel.
Additionally, the
--threadInfo
option prints the device (e.g., which GPU) was used.Regarding your last question, there is a method you can invoke from the execution plan to enable profiling information. This will print the device and some metrics, but not the thread information.