Here are the examples of the python api nlcpy.request.request._push_and_flush_request_with_JIT taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
Source : kernel.py
with BSD 3-Clause "New" or "Revised" License
from SX-Aurora
with BSD 3-Clause "New" or "Revised" License
from SX-Aurora
def __call__(self, *args, callback=None, sync=False):
"""Invokes the VE function.
Parameters
----------
*args : variable length arguments
Arguments of the VE function.
callback : function
Callback function that will be executed after the completion of
the VE function call.
For details, please refer to the
:ref:`Callback Setting < label_callback>`.
Defaults to ``None`` that means do nothing.
sync : bool
Whether synchronize function call or not.
If set to ``True``, this function will return the return value of the
VE function. The data type of it depends on ``ret_type`` of the
:meth:`nlcpy.jit.CustomVELibrary.get_function`.
If set to ``False``, it will return ``None``.
Defaults to ``False``.
"""
res = request._push_and_flush_request_with_JIT(
self.func,
args,
callback=callback,
sync=sync
)
return res
def __repr__(self): # pragma: no cover