1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Con Kolivas
b3cdd8029a Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c. 2012-09-24 16:27:47 +10:00
Kano
30f5d77761 BFL Flash - always distribute source 2012-08-23 11:41:10 +10:00
Kano
0c3e9e9b0e BFL flash - include source in builds and more FPGA-README 2012-08-23 11:16:29 +10:00
Con Kolivas
d64c32ac32 Include scrypt.h in Makefile. 2012-08-07 22:21:46 +10:00
Con Kolivas
e49bd98196 Use the scrypt CPU code to confirm results from OCL code, and mark failures as HW errors, making it easier to tune scrypt parameters. 2012-08-07 19:56:43 +10:00
Con Kolivas
ac6315b735 Bump version 2.6.0, adding SCRYPT README to makefile. 2012-07-29 22:15:42 +10:00
Con Kolivas
b9e5f8e550 Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
This reverts commit 808f403a14.

Conflicts:
	findnonce.c
2012-07-21 10:28:41 +10:00
Con Kolivas
808f403a14 Use cpu scrypt code to check if an scrypt share is below target before submitting it. 2012-07-20 23:44:43 +10:00
Con Kolivas
a5ebb71216 Add cpumining capability for scrypt. 2012-07-14 22:01:20 +10:00
Con Kolivas
a668f74e64 Fix fpgautils.h distfail. 2012-06-14 21:25:59 +10:00
Luke Dashjr
76f96f4717 New driver: BTCFPGA ModMiner 2012-06-12 02:38:36 +00:00
Luke Dashjr
d3fa59d76f Abstract generally useful FPGA code into fpgautils.c 2012-06-12 02:35:45 +00:00
Con Kolivas
d9ffcda770 Add API and FPGA READMEs into Makefile to be included in source distribution. 2012-06-04 09:05:54 +10:00
Con Kolivas
e6f9afe6bc Add missing ztex header to Makefile for distribution. 2012-04-22 15:05:04 +10:00
Con Kolivas
e95384e59a Include ztex bitstreams firmware in distribution and install if configured in. 2012-04-22 14:32:40 +10:00
Luke Dashjr
657716e563 Merge branch 'master' into ztex 2012-04-21 02:56:20 -04:00
Luke Dashjr
b8778839e9 Merge branch 'master' into unify_drivers
Conflicts:
	cgminer.c
2012-04-21 02:36:19 -04:00
nelisky
99a188f94f initial commit with some support for ztex 1.15x board.
This version is just a rough draft, but it does alredy mine.

Conflicts:

	cgminer.c
	configure.ac
2012-04-16 04:01:51 -07:00
Con Kolivas
ef76ec8a77 Add windows build docs to extra dist files. 2012-03-31 15:33:02 +11:00
Luke Dashjr
e131dfab31 Unify drivers as driver-*.c and add driver name to API 2012-03-13 12:18:23 -04:00
Luke Dashjr
ae99714241 Use libudev to autodetect BitFORCE GPUs, if available 2012-02-26 14:46:51 -05:00
Xiangfu
2bb92ebcdc add Icarus support to autoreconf system 2012-02-19 22:22:02 +08:00
Con Kolivas
beb1c3f907 Fix packaging issue with logging.h missing. 2012-02-12 11:39:10 +11:00
zefir
e0fec35751 modularized logging, support for priority based logging
Functions related to logging are extracted into dedicated source files
for better maintainability.

The existing low-level logging API is extended with a generalized scheme
providing log functions log_{error, warning, notice, info, debug} that
log messages based on a global opt_log_level.

opt_log_level for now is set to LOG_NOTICE and might be modified via
command line options or config files in future releases.
2012-02-11 20:26:25 +01:00
ckolivas
cb7145b179 Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 2012-02-11 11:48:11 +11:00
zefir
e0b0a6c030 Modularize code: main.c -> device-cpu + device-gpu
This patch is an initial attempt to re-structure cgminer source
code from its monolithic design (with nearly all code being
concentrated in main.c) to a more modular one.

In this first stage, the conditionally compiled functions for
GPU and CPU mining were extracted into dedicated files:
 * device-cpu.h and device-cpu.c covering WANT_CPUMINE functions
 * device-gpu.h and device-gpu.c covering HAVE_OPENCL functions

The main.c file is left untouched as reference, while the
remainder without the extracted parts is located in cgminer.c.

The Makefile.am has been updated to use the re-structured
source files for the build.

Above pure re-structuring *NO* functional modifications were
made. The sources were tested to compile and run on on a
current Linux system with working CPU and GPU mining
(Bitforce not tested due to loack of hardware).
2012-02-04 10:23:06 +11:00
ckolivas
55f693a80c Revert Makefile.am component for easier merge of upcoming changes. 2012-02-04 09:59:20 +11:00
Con Kolivas
ebaa2be1df Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching.
Update phatk kernel to work properly for non BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI cards.
2012-02-03 18:19:39 +11:00
Con Kolivas
c0e8819d86 Fix bitforce failing to build into cgminer. 2012-01-31 00:20:58 +11:00
Luke Dashjr
5dfc8b694f BitForce FPGA support
cgminer will scan for and mine BitForce FPGAs on USB ports by providing the
new --scan-serial <device> option, or autodetect them by searching
/dev/serial/by-id for *BitFORCE_SHA256*
2012-01-19 01:24:37 -05:00
ckolivas
332b3ca1e6 Configure out building and support of all CPU mining code unless --enable-cpumining is enabled. 2012-01-19 16:56:42 +11:00
Con Kolivas
743d81b36b Adjust column width of A/R/HW to be the maximum of any device and align them. 2012-01-01 20:25:04 +11:00
Con Kolivas
f67111da2d Include API examples in distribution tarball. 2011-12-29 10:22:16 +11:00
Kano
2358056606 API v0.1 2011-11-23 14:35:49 +11:00
Con Kolivas
d5231ea57f Fix build error with -ldl being passed to LDFLAGS instead of LDADD and update configure output. 2011-11-11 22:21:30 +11:00
Con Kolivas
2a19153d90 Add example.conf to makefile dist. 2011-10-17 14:07:38 +11:00
Con Kolivas
5133cf5b06 Add altivec 4 way support courtesy of Gilles Risch. 2011-10-09 12:22:00 +11:00
Con Kolivas
c04abf5cbe Include polarssl implementation of sha256 (sha2) and remove dependency on openssl. 2011-09-23 09:44:09 +10:00
UukGoblin
88fd7c1d38 use ATISTREAMSDKROOT env variable if available...
... to determine the location of OpenCL libs

clean up the use of OPENCL_* vars in autostuff
2011-09-15 11:34:39 +10:00
Con Kolivas
c8d40fb434 Win32 does not use dlopen so link in -ldl only when not on win32 and display what ldflags are being passed on ./configure. 2011-09-07 09:33:43 +10:00
Con Kolivas
ffa68cdaab Ideally we should like with -ldl for dlopen() dlclose(). 2011-09-06 22:48:57 +10:00
Con Kolivas
a62b4e3e22 Remove unused LIBCURL_CPPFLAGS variable which should help cgminer compile on other platforms. 2011-09-06 13:45:02 +10:00
Con Kolivas
a1ba15fb52 Fix pacakaging missing adl headers and build failure without adl sdk headers installed. 2011-09-06 09:01:24 +10:00
Con Kolivas
a2f6bb77ad Add new needed text files to distribution. 2011-09-05 19:36:12 +10:00
Con Kolivas
d57cd91955 Implement ATI ADL support for GPU parameter monitoring now and setting later (temp, fan, clocks etc.).
Check for the presence of the ADL header files in ADL_SDK.
Import adl_functions.h from amd overdrive ctrl.
Implement a setup function that tries to detect GPUs that support the ADL and link in the parameters into the gpus struct.
Put a summary of monitoring information from the GPU menu.
2011-09-03 10:53:35 +10:00
Con Kolivas
67dff290f7 Doc updates. 2011-08-26 13:45:45 +10:00
Con Kolivas
7dc3db2340 Implement SSE2 32 bit assembly algorithm as well. 2011-08-25 13:04:15 +10:00
Con Kolivas
ebf7999305 Include uthash.h in distro. 2011-08-25 12:32:42 +10:00
Con Kolivas
6d10ef2f6e Bump version numbers of kernels to indicate slightly different versions. 2011-08-22 10:17:23 +10:00
Con Kolivas
f062765c94 Explicitly link in ws2_32 on the windows build and update README file on how to compile successfully on windows. 2011-08-20 10:08:59 +10:00