Browse Source

More fixes for silly misedits

tags/v0.2.20^2
Martin Kroeker GitHub 8 years ago
parent
commit
80373ea039
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      driver/others/init.c

+ 4
- 2
driver/others/init.c View File

@@ -778,8 +778,11 @@ static int initialized = 0;
void gotoblas_affinity_init(void) { void gotoblas_affinity_init(void) {


int cpu, num_avail; int cpu, num_avail;
#ifndef USE_OPENMP
cpu_set_t cpu_mask; cpu_set_t cpu_mask;
#endif
int i;
if (initialized) return; if (initialized) return;


initialized = 1; initialized = 1;
@@ -826,7 +829,6 @@ void gotoblas_affinity_init(void) {
cpu_set_t *cpusetp; cpu_set_t *cpusetp;
int nums; int nums;
int ret; int ret;
int i;


#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "Shared Memory Initialization.\n"); fprintf(stderr, "Shared Memory Initialization.\n");


Loading…
Cancel
Save