updating legion for current optix (callable program API v2)