nlcpy.request.get_offload_timing

nlcpy.request.get_offload_timing(VENode venode=None)

Gets kernel offload timing.

Parameters
venodeVENode

Targe VE node. If set to ‘None’, the current active VE node is set.

Returns
outstr

Examples

>>> import nlcpy as vp
>>> vp.request.get_offload_timing()
'lazy'
>>> vp.request.set_offload_timing_onthefly()
>>> vp.request.get_offload_timing()
'on-the-fly'
>>> # Note that offload timing for VE#1 is not updated
>>> vp.request.get_offload_timing(venode=vp.venode.VE(1))
'lazy'