nvml: cleanup and check api restrictions

there was too much wrap_ prefixes, internal cleanup