Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
MadGraph7 0.2.1 documentation
Light Logo Dark Logo

Usage

  • Installation
  • First steps
  • Run card
  • Custom functions
  • Diagram filters
  • Gridpacks
  • Coming from MadEvent

MadSpace

  • Installation
  • Examples
    • Constructing and calling a phase-space mapping
    • Defining fiducial cuts
    • Building a mapping for a Feynman diagram
    • Multiple on-shell configurations and integration order
    • Calling a MadGraph-generated matrix element
    • Running on a GPU
    • The built-in PDF interpolator
    • Building a simple integrator
    • Neural importance sampling with MadNIS
    • Fusing RNG, flow, mapping and matrix element into one graph
  • UMAMI API
  • Python API
    • ChiliMapping
    • ColorOrderedMapping
    • DiscreteFlow
    • DiscreteSampler
    • DoubleT
    • FastRamboMapping
    • Flow
    • Invariant
    • Luminosity
    • Mapping
    • MultiChannelMapping
    • PhaseSpaceMapping
    • TPropagatorMapping
    • ThreeBodyDecay
    • TwoBodyDecay
    • TwoToThreeParticleScattering
    • TwoToTwoParticleScattering
    • VegasMapping
    • BufferUnweighter
    • CachedPdf
    • CachedScale
    • ChannelWeightNetwork
    • CustomFunction
    • CutItem
    • Cuts
    • DifferentialCrossSection
    • DiscreteHistogram
    • EnergyScale
    • FunctionGenerator
    • HistItem
    • Integrand
    • IntegrandProbability
    • MLP
    • MadnisLoss
    • MatrixElement
    • MomentumPreprocessing
    • MultiChannelFunction
    • MultiChannelIntegrand
    • Observable
    • ObservableHistograms
    • ObservableValues
    • PartonDensity
    • PropagatorChannelWeights
    • RunningCoupling
    • SubchannelWeights
    • Unweighter
    • VegasHistogram
    • AlphaSGrid
    • CustomPdf
    • Decay
    • Diagram
    • LineRef
    • PdfGrid
    • Propagator
    • Topology
    • initialize_vegas_grid
    • BatchSize
    • DataType
    • Function
    • FunctionBuilder
    • FunctionRuntime
    • Instruction
    • InstructionCall
    • Type
    • Value
    • batch_float_array
    • batch_four_vec_array
    • multichannel_batch_size
    • AdamOptimizer
    • ChannelEventGenerator
    • Context
    • Device
    • DiscreteOptimizer
    • EventGenerator
    • EventHistogramSpec
    • EventHistograms
    • GeneratorConfig
    • GeneratorStatus
    • Histogram
    • LHECompleter
    • LHEEvent
    • LHEFileWriter
    • LHEHeader
    • LHEMeta
    • LHEParticle
    • LHEProcess
    • Logger
    • MadnisConfig
    • MadnisTraining
    • MatrixElementApi
    • MixMaxRandom
    • MultiMadnisTraining
    • PdfGroupInfo
    • PdfMemberSpec
    • PrettyBox
    • StatusFile
    • SubprocArgs
    • SubprocessObservables
    • SubprocessSystArgs
    • SystematicsCalculator
    • SystematicsConfig
    • Tensor
    • TrainingArgs
    • Variation
    • VegasGridOptimizer
    • Verbosity
    • available_backends
    • compute_generation_batch_event_count
    • cpu_device
    • cuda_device
    • default_context
    • default_cuda_context
    • default_hip_context
    • format_progress
    • format_si_prefix
    • format_with_error
    • hip_device
    • select_combine_channel_index
    • set_lib_path
    • set_simd_vector_size
    • NamedTypes
    • NamedValues
    • PythonFunction
    • get_stream
    • set_stream
    • stream
  • C++ API
    • ChiliMapping
    • ColorOrderedMapping
    • DiscreteFlow
    • DiscreteSampler
    • DoubleT
    • FastRamboMapping
    • Flow
    • Invariant
    • Luminosity
    • Mapping
    • MultiChannelMapping
    • PhaseSpaceMapping
    • TPropagatorMapping
    • ThreeBodyDecay
    • TwoBodyDecay
    • TwoToThreeParticleScattering
    • TwoToTwoParticleScattering
    • VegasMapping
    • BatchSampler
    • BufferUnweighter
    • ChannelWeightNetwork
    • CustomFunction
    • Cuts
    • DifferentialCrossSection
    • DiscreteHistogram
    • EnergyScale
    • FunctionGenerator
    • GradientClipper
    • Integrand
    • IntegrandChannelPart
    • IntegrandCommonPart
    • IntegrandConcatenator
    • IntegrandProbability
    • MLP
    • MadnisLoss
    • MatrixElement
    • MomentumPreprocessing
    • MultiChannelFunction
    • MultiChannelIntegrand
    • Observable
    • ObservableHistograms
    • ObservableValues
    • PartonDensity
    • PropagatorChannelWeights
    • RunningCoupling
    • SubchannelWeights
    • Unweighter
    • VegasHistogram
    • AlphaSGrid
    • CustomPdf
    • Diagram
    • PdfGrid
    • Propagator
    • Topology
    • initialize_vegas_grid
    • BatchSize
    • Function
    • FunctionBuilder
    • Instruction
    • InstructionCall
    • Type
    • Value
    • batch_float_array
    • batch_four_vec_array
    • multichannel_batch_size
    • AdamOptimizer
    • ChannelEventGenerator
    • Context
    • DataLayout
    • DerivedSeed
    • Device
    • DiscreteOptimizer
    • EventBuffer
    • EventFile
    • EventGenerator
    • EventHistogramSpec
    • EventHistograms
    • EventRecord
    • FieldLayout
    • GeneratorBatchJob
    • GeneratorConfig
    • GeneratorStatus
    • Histogram
    • LHECompleter
    • LHEEvent
    • LHEFileWriter
    • LHEHeader
    • LHEMeta
    • LHEParticle
    • LHEProcess
    • LOReweightInfo
    • Logger
    • MadnisTraining
    • MatrixElementApi
    • MixMaxRandom
    • MultiMadnisTraining
    • PackedTensorView
    • ParticleRecord
    • PdfGroupInfo
    • PdfMemberSpec
    • PrettyBox
    • ReadyJob
    • ResultQueue
    • RunSeedSkip
    • RunningIntegral
    • Runtime
    • Sizes
    • StatusFile
    • SubprocessObservables
    • SubprocessSystArgs
    • SystematicsCalculator
    • SystematicsConfig
    • TarReader
    • TarWriter
    • Tensor
    • TensorView
    • ThreadPool
    • ThreadResource
    • UmamiFunctions
    • UnalignedRef
    • Variation
    • VegasGridOptimizer
    • available_backends
    • compute_generation_batch_event_count
    • cpu_device
    • cuda_device
    • default_context
    • default_cuda_context
    • default_hip_context
    • format_progress
    • format_si_prefix
    • format_with_error
    • hip_device
    • select_combine_channel_index
    • set_lib_path
    • set_simd_vector_size
    • NamedVector
    • Overloaded
Back to top
View this page

cpu_device¶

madspace.cpu_device() → madspace._madspace_py.Device¶

The CPU device.

Next
cuda_device
Previous
compute_generation_batch_event_count
Copyright © 2025-2026, The MadGraph7 Development Team
Made with Sphinx and @pradyunsg's Furo
On this page
  • cpu_device
    • cpu_device()