Lines Matching refs:layers
59 kmp_hier_layer_e *layers;
69 layers = (kmp_hier_layer_e *)__kmp_allocate(sizeof(kmp_hier_layer_e) *
76 layers[current_size] = layer;
89 if (layers[j] < layers[switch_index])
93 kmp_hier_layer_e temp1 = layers[i];
97 layers[i] = layers[switch_index];
101 layers[switch_index] = temp1;
112 __kmp_free(layers);
116 layers = NULL;
463 * layers. Layer 0 is the lowest layer to layer num_layers - 1 which is the
517 // middle layers use the shared buffer inside the kmp_hier_top_unit_t
575 // private dispatch buffers in the hierarchy's middle layers
613 kmp_hier_top_unit_t<T> **layers;
617 if (layers[i] != NULL) {
618 __kmp_free(layers[i]);
620 if (layers != NULL) {
621 __kmp_free(layers);
622 layers = NULL;
635 if (!valid || layers == NULL || info == NULL ||
663 layers[i][j].active = 0;
673 layers = (kmp_hier_top_unit_t<T> **)__kmp_allocate(
690 layers[i] = (kmp_hier_top_unit_t<T> *)__kmp_allocate(
693 layers[i][j].active = 0;
694 layers[i][j].hier_pr.flags.use_hier = TRUE;
885 return &(layers[level][index]);
887 // Returns the number of layers in the hierarchy
906 layers[i][j].print();