1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00
OpenCL GPU miner
Go to file
Con Kolivas 3aa5be4fcf Reinstate binary kernel loading with fixes.
Build binaries with unique filenames from the kernel generated and save them.
Try to load this cached binary if it matches on next kernel instantiation.
This speeds up start-up dramatically, and has a unique kernel binary for different kernel configurations.
2011-07-04 19:47:46 +10:00
compat Build on Windows using mingw32. 2010-11-26 16:28:12 -05:00
x86_64 X86_64 SSE2 support for Linux 2011-03-06 23:49:00 -05:00
.gitignore Proper platform detection. 2011-04-11 13:04:29 -04:00
AUTHORS Convert over to autotools. Release version 0.1. 2010-11-24 19:31:12 -05:00
autogen.sh Convert over to autotools. Release version 0.1. 2010-11-24 19:31:12 -05:00
ChangeLog Convert over to autotools. Release version 0.1. 2010-11-24 19:31:12 -05:00
compat.h Build on Windows using mingw32. 2010-11-26 16:28:12 -05:00
configure.ac Version 1.0.2. 2011-07-04 19:47:44 +10:00
COPYING Convert over to autotools. Release version 0.1. 2010-11-24 19:31:12 -05:00
cpu-miner.c Use two separate curl instances for submit and get and use separate threads for each to prevent one blocking the other. 2011-07-04 19:47:46 +10:00
elist.h Move all RPC I/O to separate thread. 2011-03-14 23:17:34 -04:00
example-cfg.json example-cfg.json: remove extraneous commas, which broke JSON decode 2011-03-21 17:44:20 -04:00
findnonce.c Don't want to free the work data out of the transient structs. 2011-07-04 19:47:46 +10:00
findnonce.h Use a buffer of up to 512 * 4 integers when retrieving work from the GPU. 2011-07-04 19:47:46 +10:00
LICENSE Convert over to autotools. Release version 0.1. 2010-11-24 19:31:12 -05:00
Makefile.am Merge gpumining from oclmine. Unstable. 2011-07-04 19:46:39 +10:00
miner.h Make the log show what the thread is: cpu or gpu and what number. 2011-07-04 19:47:45 +10:00
mknsis.sh Windows build tweaks. 2010-11-26 23:32:29 -05:00
NEWS Linux + x86_64 optimisations. 2011-07-04 19:46:38 +10:00
ocl.c Reinstate binary kernel loading with fixes. 2011-07-04 19:47:46 +10:00
ocl.h Import the phatk kernel. Enable it only for hardware with amd media ops for now since it crashes nvidia et. al. 2011-07-04 19:47:45 +10:00
phatk.cl Use a buffer of up to 512 * 4 integers when retrieving work from the GPU. 2011-07-04 19:47:46 +10:00
poclbm.cl Use a buffer of up to 512 * 4 integers when retrieving work from the GPU. 2011-07-04 19:47:46 +10:00
README Release version 0.6.1. 2011-02-04 14:29:54 -05:00
sha256_4way.c Ensure cpuminer-config.h is universally included, in *.c and *.h alike. 2011-03-20 22:44:25 -04:00
sha256_cryptopp.c Convert remaining [f]print to applog(). 2011-03-21 04:02:13 -04:00
sha256_generic.c Ensure cpuminer-config.h is universally included, in *.c and *.h alike. 2011-03-20 22:44:25 -04:00
sha256_sse2_amd64.c Linux + x86_64 optimisations. 2011-07-04 19:46:38 +10:00
sha256_via.c Ensure cpuminer-config.h is universally included, in *.c and *.h alike. 2011-03-20 22:44:25 -04:00
util.c Revert "Multiple compiler warning fixes." 2011-07-04 19:47:19 +10:00

This is a multi-threaded CPU miner for bitcoin.

License: GPLv2.  See COPYING for details.

Dependencies:
	libcurl			http://curl.haxx.se/libcurl/
	jansson			http://www.digip.org/jansson/
		(jansson is optional, and is included in-tree)

Basic *nix build instructions:
	./autogen.sh	# only needed if building from git repo
	CFLAGS="-O3 -Wall -msse2" ./configure
	make

Basic WIN32 build instructions (on Fedora 13; requires mingw32):
	./autogen.sh	# only needed if building from git repo
	rm -f mingw32-config.cache
	MINGW32_CFLAGS="-O3 -Wall -msse2" mingw32-configure
	make
	./mknsis.sh

Usage instructions:  Run "minerd --help" to see options.

Also many issues and FAQs are covered in the forum thread
dedicated to this program,
	http://www.bitcoin.org/smf/index.php?topic=1925.0;all