[PATCH v2 2/4] include: Define an API for mapping sm1 samplers to the target environment.