MLIR  21.0.0git
Public Member Functions | List of all members
mlir::python::PyThreadPool Class Reference

Wrapper around MlirLlvmThreadPool Python object owns the C++ thread pool. More...

#include "Bindings/Python/IRModule.h"

Public Member Functions

 PyThreadPool ()
 
 PyThreadPool (const PyThreadPool &)=delete
 
 PyThreadPool (PyThreadPool &&)=delete
 
int getMaxConcurrency () const
 
MlirLlvmThreadPool get ()
 
std::string _mlir_thread_pool_ptr () const
 

Detailed Description

Wrapper around MlirLlvmThreadPool Python object owns the C++ thread pool.

Definition at line 165 of file IRModule.h.

Constructor & Destructor Documentation

◆ PyThreadPool() [1/3]

mlir::python::PyThreadPool::PyThreadPool ( )
inline

Definition at line 167 of file IRModule.h.

◆ PyThreadPool() [2/3]

mlir::python::PyThreadPool::PyThreadPool ( const PyThreadPool )
delete

◆ PyThreadPool() [3/3]

mlir::python::PyThreadPool::PyThreadPool ( PyThreadPool &&  )
delete

Member Function Documentation

◆ _mlir_thread_pool_ptr()

std::string mlir::python::PyThreadPool::_mlir_thread_pool_ptr ( ) const
inline

Definition at line 176 of file IRModule.h.

◆ get()

MlirLlvmThreadPool mlir::python::PyThreadPool::get ( )
inline

Definition at line 174 of file IRModule.h.

References wrap().

◆ getMaxConcurrency()

int mlir::python::PyThreadPool::getMaxConcurrency ( ) const
inline

Definition at line 173 of file IRModule.h.


The documentation for this class was generated from the following file: