Commit Graph

12 Commits

Author SHA1 Message Date
Danny Tsai
0294bb4de8
avoid potentially wrong measurement when clock modified (#16) 2023-09-26 07:16:27 -05:00
Michael M
69b0fa26b2 Remove a function that won't be used (#11)
This also fixes Linux support
2018-07-24 15:17:09 -05:00
Michael M
6a12c9037c Miscellaneous changes (#8)
* Remove uneccessary externs

* Improve Makefile
- For Windows, the Makefile now checks if INTELSDKROOT is actually defined in order to prevent accidental inclusion of an 'include' directory (if one exists)
- The Makefile has a few comments reworded and cleaned up

* Another few rewordings in the Makefile

* Rectify a mistake that causes LFCS mining to forcefully use 28 group
bits

* Possibly prevent CL_DEVICE_NOT_FOUND errors from occurring

* Correct a comment's wording

* Simplify Makefile and enforce 64-bit compilation

* Use OpenCL 1.2 headers if unified headers are used

* Use fgets() instead of scanf() and add some utils

* Revert "Possibly prevent CL_DEVICE_NOT_FOUND errors from occurring"

This reverts commit 8c14941385 since it
seems that there is no apparent benefit.

* Code reorganization & cleanup

* Finalize 'seedminer mode'

* Rewording and temporarily delete unistd.h

* Include unistd.h inside of utils.h instead

* Update utils.h

* Update utils.c
2018-07-16 06:10:16 -05:00
Michael M
510e29288e Major Improvements (#5)
* Changes to code and build system for Linux support.

  - Makefile was altered to support the dynamic OpenCL lib with the
    default path for Ubuntu's ocl-icd-opencl-dev apt package.

  - Various changes in the source code to resolve -Wall -Werror build
    errors using cc 7.2.0.

* Remove beginning newlines from affected .c and .cl source files

* Include stdlib.h instead of malloc.h in ocl_util.c
This allows compilation on macOS

* Implement full macOS support

* Include better compiling instructions and add some comments to the Makefile

* Forgot to add an extra newline in the README

* Fix two comments inside of the Makefile

* Edit comments in Makefile

* Edit comments in Makefile... again

* Edit Makefile to provide proper static linking instructions

* Minor edits to utils.c

* Match wording in README

* Better comments in Makefile

* Small fix-ups in Makefile

* Spelling correction

* Update README.md

* Edit some Makefile comments

* Oops

* Improve compiling instructions

* Simple fix

* Make sure output buffers are flushed
2018-05-28 23:29:22 -05:00
JimmyZ
957031096a implemented dark_samus3's idea, not working yet. 2017-11-03 05:44:05 +08:00
JimmyZ
bf98a0bbfc trivial 2017-09-08 18:51:42 +08:00
JimmyZ
5c56c3fdb7 tivial 2017-08-30 18:46:20 +08:00
JimmyZ
370db9be13 trivial 2017-08-29 17:11:51 +08:00
JimmyZ
ed7e0ccfd9 some how it is broken now after some refactoring 2017-08-28 18:07:43 +08:00
JimmyZ
4e1c73661d OCD 2017-08-27 19:55:59 +08:00
JimmyZ
755198c309 timer 2017-08-27 15:44:18 +08:00
JimmyZ
448e074e47 got sha1_16 working in openCL 2017-08-27 13:33:16 +08:00