-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the Pixel 'gpu' workflow use a GPU if available, and fall-back t…
…o CPU otherwise
- Loading branch information
Showing
3 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
RecoPixelVertexing/PixelVertexFinding/python/PixelVertexes_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from HeterogeneousCore.CUDACore.SwitchProducerCUDA import SwitchProducerCUDA | ||
|
||
from RecoPixelVertexing.PixelVertexFinding.PixelVertexes_cfi import * | ||
|
||
from RecoPixelVertexing.PixelVertexFinding.PixelVertexes_cfi import pvClusterComparer, pixelVertices as _pixelVertices | ||
pixelVertices = SwitchProducerCUDA( | ||
cpu = _pixelVertices.clone() | ||
) |