1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-17 04:08:34 +00:00

Re-enable some useful environment variables

This commit is contained in:
jsteube 2016-01-18 08:24:29 +01:00
parent 74fc7d2e27
commit 30293a047e

View File

@ -5025,13 +5025,14 @@ int main (int argc, char **argv)
putenv ((char *) "DISPLAY=:0"); putenv ((char *) "DISPLAY=:0");
} }
/*
if (getenv ("GPU_MAX_ALLOC_PERCENT") == NULL) if (getenv ("GPU_MAX_ALLOC_PERCENT") == NULL)
putenv ((char *) "GPU_MAX_ALLOC_PERCENT=100"); putenv ((char *) "GPU_MAX_ALLOC_PERCENT=100");
if (getenv ("CPU_MAX_ALLOC_PERCENT") == NULL)
putenv ((char *) "CPU_MAX_ALLOC_PERCENT=100");
if (getenv ("GPU_USE_SYNC_OBJECTS") == NULL) if (getenv ("GPU_USE_SYNC_OBJECTS") == NULL)
putenv ((char *) "GPU_USE_SYNC_OBJECTS=1"); putenv ((char *) "GPU_USE_SYNC_OBJECTS=1");
*/
/** /**
* Real init * Real init