Explorar el Código

Assert rather than do bogus things for non-cuda/opencl case.

Samuel Thibault hace 14 años
padre
commit
eb5822de45
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/datawizard/memalloc.c

+ 2 - 0
src/datawizard/memalloc.c

@@ -708,6 +708,8 @@ static size_t _starpu_get_global_mem_size(int dst_node)
 			break;
 		}
 #endif
+		default:
+			STARPU_ASSERT(0);
 	}
 	return global_mem_size;
 }