void omp_set_affinity_format(const char *format);
Summary The omp_set_affinity_format routine sets the affinity format to be used on the device by setting the value of the affinity-format-var ICV.
Binding When called from a sequential part of the program, the binding thread set for an omp_set_affinity_format region is the encountering thread. When called from within any parallel or teams region, the binding thread set (and binding region, if required) for the omp_set_affinity_format region is implementation defined.
Effect The effect of omp_set_affinity_format routine is to copy the character string specified by the format argument into the affinity-format-var ICV on the current device.
This routine has the described effect only when called from a sequential part of the program. When called from within a parallel or teams region, the effect of this routine is implementation defined.