QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: njuxyh on March 22, 2019, 11:05
-
Hi supporter:
in the webinar, there is an introduction about ParallelDevicePerformanceProfile , but I do not know how to use it.
because I have not found the option in the vnl, it is done by writing scripts manually?
-
Hi,
yes, it has to be done by scripting. The easier workflow is:
1) Create the script you need using the Script generator.
2) Send it to the editor
3) Comment out the line:
device_configuration.update()
4) Add the following line, including the desired values for processes and threads:
profile = ParallelDevicePerformanceProfile(device_configuration, processes_and_threads=[(1, 1), (1, 2), (2, 1)])
Best,
Daniele
-
See also the documentation for that functionality: https://docs.quantumatk.com/manual/Types/ParallelDevicePerformanceProfile/ParallelDevicePerformanceProfile.html