#1460 closed defect (fixed)
[simprod-scripts] always use the GPU over the CPU with PPC
Reported by: | David Schultz | Owned by: | Juan Carlos Díaz Vélez |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | combo simulation | Keywords: | |
Cc: | Dmitry Chirkin, Alex Olivas |
Description
The ordering between GPU and CPU using opencl is random. Make it fixed, with the GPU always first.
In fact, maybe just only use the GPU unless told otherwise? Or at least have some configuration for this.
Change History (5)
comment:1 Changed 8 years ago by Alex Olivas
- Owner changed from olivas to dima
- Status changed from new to assigned
comment:2 Changed 8 years ago by Nakul Aggarwal
comment:3 Changed 8 years ago by David Schultz
- Cc dima olivas added; juancarlos removed
- Owner changed from dima to juancarlos
- Summary changed from [ppc] always use the GPU over the CPU to [simprod-scripts] always use the GPU over the CPU with PPC
The driver version was the same (it was the same machine).
Since the option exists, I change my request to actually using the option.
comment:4 Changed 8 years ago by Juan Carlos Díaz Vélez
- Resolution set to fixed
- Status changed from assigned to closed
Rev. 141251 commit. Sets OGPU=1 by default unless CPUs are requested.
comment:5 Changed 5 years ago by Alex Olivas
- Milestone IceSim 5.0 deleted
Milestone IceSim? 5.0 deleted
Note: See
TracTickets for help on using
tickets.
My guess is the ordering depends on the version of the driver or which card is used? More information would be welcome. PPC will use the driver-provided list of devices in the order that the driver provides it in.
The requested option already exists: you can set env. variable OGPU=1 to only use GPUs, OCPU=1 to only use CPUs, or OACC=1 to only use accelerator cards. You can also combine these, though that is not recommended as the fastest device will be underused (unless more tweaking is done to settings such as number of photons per thread for each device are specified separately).