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
jsteube
f8a6d156eb
Add some more returncode checks
2016-10-15 21:34:38 +02:00
jsteube
d2bcb19740
Fix some rc check
2016-10-15 19:58:39 +02:00
jsteube
7383bb14f5
Add some more returncode checks
2016-10-15 19:30:57 +02:00
jsteube
694de36694
Print warnings in yellow and errors in red
2016-10-15 16:12:20 +02:00
jsteube
91979bff69
Mark OpenCL devices as listing
2016-10-15 14:34:07 +02:00
jsteube
017555e257
Fix some log levels
2016-10-15 14:28:46 +02:00
jsteube
191269f4f0
Add --speed-only mode
2016-10-14 21:38:52 +02:00
jsteube
ef80e3f074
Some newline fixes
2016-10-14 20:18:45 +02:00
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
2016-10-13 10:07:04 +02:00
jsteube
ebc26ecac5
Fix some log levels in opencl.c
2016-10-12 11:45:24 +02:00
jsteube
20832d29d6
Do not reset innerloop_left and outerloop_left too early so we can access it from status display
2016-10-11 15:02:54 +02:00
jsteube
af9de0a7b7
Fix some error string formats
2016-10-11 10:55:02 +02:00
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
2016-10-10 11:03:11 +02:00
jsteube
27bec8be13
Get rid of logging.c and most exit() calls replaced with return() for true library usage
2016-10-09 22:41:55 +02:00
jsteube
42677df2a6
Start context-related logging with goal to get rid of logging.c
2016-10-08 23:16:40 +02:00
jsteube
14248d38e3
Update tuning_db.c function parameters
2016-10-06 16:51:01 +02:00
jsteube
a5e83c27c3
Update wordlist.c function parameters
2016-10-06 16:16:56 +02:00
jsteube
a97e31881c
Update interface.c function parameters
2016-10-06 15:49:07 +02:00
jsteube
0579f93402
Update opencl.c and autotune.c function parameters
2016-10-06 15:16:30 +02:00
jsteube
15d2f9b11e
Add some reserved scratch buffer for innerloop combinator instead of reallocating each time
2016-10-05 15:41:56 +02:00
jsteube
c1aba9e314
Reset innerloop_* and outerloop_* variables when no longer needed
2016-10-05 15:00:20 +02:00