jsteube
e77c029dad
Fixed event_log_warning() format in debug builds
2016-11-27 12:43:26 +01:00
jsteube
ed149fdd52
More benchmark fixes
2016-11-26 20:14:30 +01:00
jsteube
a56aa30754
Fix reported speed for slow hashes which was broken somewhere between hashcat (v3.10-809-g7fe575e) to hashcat (v3.10-820-g899413f)
2016-11-26 19:48:39 +01:00
jsteube
ac8c4d946a
Fix benchmark of extreme slow hashes, updated changes.txt
2016-11-25 16:27:22 +01:00
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
2016-11-20 23:15:54 +01:00
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
2016-11-20 22:54:52 +01:00
jsteube
38514895b3
Rewrite some calls to clGetProgramInfo() to make scan-build happy
2016-11-20 21:14:51 +01:00
jsteube
6efe557cdc
Fix cached kernel checksum building on oversized device version or driver version strings
2016-11-20 14:42:45 +01:00
jsteube
0c55626689
Remove kernel exec timeout detection, should no longer occur due to autotune
2016-11-19 16:57:24 +01:00
jsteube
dc2689a996
Move skipped_temp check out of main loop
2016-11-18 22:26:55 +01:00
Gabriele Gristina
6af37ecc10
Prevent exit from benchmark mode if all devices are skipped (OSX)
2016-11-18 19:44:18 +01:00
Jens Steube
1321cbdcf8
Merge pull request #599 from neheb/master
...
Sign fixes
2016-11-18 10:30:35 +01:00
jsteube
105513e307
On OSX, unset device_param->skipped back to true in case skipped_temp is set to true
2016-11-18 10:26:48 +01:00
jsteube
72e39a7ec0
Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool
2016-11-18 10:09:03 +01:00
Gabriele Gristina
28ec87aa2b
Skip unstable hash modes (OSX only)
2016-11-17 23:15:32 +01:00
jsteube
888fbdafe7
Using platform vendor name is better than using device vendor name when it comes whatever to use builtin amd_bytealign() or hand-written version because pocl uses its own platform vendor name but uses AMDs device vendor name
2016-11-17 18:00:17 +01:00
jsteube
d62d0d8a71
Fix some error messages
2016-11-17 10:22:16 +01:00
Rosen Penev
c13ef5aacd
Fix formats found by cppcheck
2016-11-16 20:30:14 -08:00
jsteube
c254138c21
Fix some code in opencl.c to make cppcheck happy
2016-11-16 15:59:39 +01:00
jsteube
536dcef7eb
Replaced all calls to strtok() with strtok_r() to ensure thread safety
2016-11-16 10:35:01 +01:00
jsteube
8645571a7c
Improve CPU detection on AMDGPU-Pro
2016-11-14 13:05:40 +01:00
Rosen Penev
22abb22c13
Fix a few printf formats
2016-11-13 17:45:36 -08:00
jsteube
01171a7b3b
Moved OpenCL requirement from v1.1 to v1.2
2016-11-13 17:46:45 +01:00
Gabriele Gristina
dff72bbfb3
Fix clang warning on OSX
2016-11-13 12:56:04 +01:00
jsteube
98b6371cd7
No more branch needed to check cracked after moving check for speed only above
2016-11-13 00:05:34 +01:00
jsteube
f178769863
Do not wait for the progress mutex to read and store speed timer
2016-11-13 00:03:37 +01:00
jsteube
a3190986d4
Added a missing error check after using run_kernel_bzero()
2016-11-12 15:11:40 +01:00
jsteube
bc26cae58c
Add some safety check for AMDGPU-Pro driver in combination with non-root user
2016-11-11 21:43:10 +01:00
Jens Steube
15100059fa
Fix Intel OpenCL runtime version check
2016-11-11 14:51:30 +01:00
jsteube
80a4f234f5
Update OpenCL runtime- and driver-requirements
...
Update changes.txt
2016-11-11 13:10:24 +01:00
jsteube
9eb9543cda
Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro
2016-11-05 23:19:13 +01:00
jsteube
e63bc4d328
Query PCI-Express bus/device/function and store for later use
2016-11-05 20:23:05 +01:00
jsteube
42bcb8bdc8
Revert "Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it"
...
This reverts commit 96e963b0d0
.
2016-11-03 00:31:12 +01:00
jsteube
96e963b0d0
Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it
2016-11-03 00:02:53 +01:00
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
2016-10-30 20:37:02 +01:00
Jens Steube
25bc960a09
Merge pull request #560 from matrix/fix_string_format
...
Fix string format
2016-10-30 19:31:52 +01:00
Gabriele Gristina
f500727bd8
Fix string format
2016-10-30 16:11:20 +01:00
Gabriele Gristina
6bf5ee95a6
Fix resource leak
2016-10-30 16:08:41 +01:00
jsteube
df8a9ab5e5
Support mixed kernel thread count for mixed kernels in the same source file
...
Get rid of one global kernel_threads variable
Recognize reqd_work_group_size() values from OpenCL kernels and use them in host if possible
Fix some white spaces
Remove unused weak* kernels
Rename hashconfig_enforce_kernel_threads() to hashconfig_get_kernel_threads() - we do not enforce anymore
Rename hashconfig_enforce_kernel_loops() to hashconfig_get_kernel_loops() - we do not enforce anymore
Add some missing checks for --quiet
2016-10-29 14:02:29 +02:00
jsteube
05634fe727
Do not run any caching rounds in autotune in DEBUG mode if -n and -u are specified
2016-10-27 00:51:26 +02:00
jsteube
636d953996
Move out all use of event_log_info() from library code to main.c or terminal.c
2016-10-26 11:24:00 +02:00
jsteube
e26b08f61f
Move opencl_info() to terminal.c
2016-10-25 16:40:06 +02:00
jsteube
001ba8a655
Replace some printf() in opencl.c with event_log_info()
2016-10-25 16:01:03 +02:00
jsteube
5906f1ab54
Fix some format string for 64 bit
2016-10-25 15:51:44 +02:00
jsteube
824654e2fb
Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I
2016-10-25 15:43:09 +02:00
jsteube
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
2016-10-23 17:31:22 +02:00
jsteube
2005f5d193
Remove terminal.h where's it's not needed
2016-10-18 00:41:24 +02:00
jsteube
df521d664b
Move restore_* variables into separate functions for later use in status.c
2016-10-17 14:25:16 +02:00
jsteube
b044271b01
Move more status display calculate logic into separate functions
2016-10-17 13:44:07 +02:00