Skip to main content
Ctrl+K
Warp 1.16.0.dev0 - Home Warp 1.16.0.dev0 - Home

Warp 1.16.0.dev0

  • GitHub
  • PyPI
Warp 1.16.0.dev0 - Home Warp 1.16.0.dev0 - Home

Warp 1.16.0.dev0

  • GitHub
  • PyPI

Table of Contents

User Guide

  • Installation
  • Compatibility & Support
  • Basics
  • Runtime
  • Differentiability
  • Programming Model
    • Generics
    • Tiles
    • Code Generation
    • C++ and CUDA Workflows
  • Interoperability
    • PyTorch Interoperability
    • JAX Interoperability
  • Execution and Performance
    • Concurrency
    • Memory Allocation and Access
    • Profiling
    • Deterministic Execution
  • Configuration
  • Debugging
  • Limitations
  • FAQ

Language Reference

  • Built-Ins

API Reference

  • warp
  • warp.autograd
  • warp.config
  • warp.fem
  • warp.optim
  • warp.render
  • warp.sparse
  • warp.types
  • warp.utils

Domain Modules

  • Sparse Matrices
  • FEM Toolkit
  • Rendering

Project

  • Contribution Guide
  • Publications using Warp
  • Changelog
  • warp
  • warp.ScopedLogLevel
View page source

warp.ScopedLogLevel#

class warp.ScopedLogLevel(log_level)[source]#

Context manager to temporarily override warp.config.log_level.

On context exit, the previous value is restored.

Parameters:

log_level (int) – The log level to set inside the scope. Use one of LOG_DEBUG, LOG_INFO, LOG_WARNING, or LOG_ERROR.

Example

with warp.ScopedLogLevel(warp.LOG_WARNING):
    warp.init()  # banner suppressed inside the scope

See also

warp.config.log_level

previous

warp.Logger

next

warp.ScopedLogger

On this page
  • ScopedLogLevel
Edit on GitHub
NVIDIA NVIDIA
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2022-2026 NVIDIA Corporation.