Request: Use const-correctness on IExecutionContext::enqueue() function


I’d like to request the following API change to the enqueue/enqueueV2 functions to apply const-correctness:

void enqueueV2(const void* const* inputs, void** outputs, …)

That interface already exists for IPlugin::enqueue, so it should be applied to IExecutionEngine::enqueue as well.

Const-correctness is very important in C++, especially in the context of safety-critical development.


hi @carlosgalvezp,
Thank you for the valuable suggestion, will check and update you accordingly.