Home
last modified time | relevance | path

Searched refs:opencl_env (Results 1 – 1 of 1) sorted by relevance

/dports/graphics/gegl/gegl-0.4.34/gegl/
H A Dgegl-init.c337 const char *opencl_env = g_getenv ("GEGL_USE_OPENCL"); in gegl_config_parse_env() local
339 if (g_ascii_strcasecmp (opencl_env, "yes") == 0) in gegl_config_parse_env()
341 else if (g_ascii_strcasecmp (opencl_env, "no") == 0) in gegl_config_parse_env()
343 else if (g_ascii_strcasecmp (opencl_env, "cpu") == 0) { in gegl_config_parse_env()
346 } else if (g_ascii_strcasecmp (opencl_env, "gpu") == 0) { in gegl_config_parse_env()
349 } else if (g_ascii_strcasecmp (opencl_env, "accelerator") == 0) { in gegl_config_parse_env()
353 g_warning ("Unknown value for GEGL_USE_OPENCL: %s", opencl_env); in gegl_config_parse_env()