mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-17 12:18:24 +00:00
Re-enable some useful environment variables
This commit is contained in:
parent
74fc7d2e27
commit
30293a047e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user