Skip to content

Commit 6aac3fb

Browse files
Christian BuchnerChristian Buchner
Christian Buchner
authored and
Christian Buchner
committed
commit initial version 0.1
1 parent 24402ae commit 6aac3fb

File tree

807 files changed

+147888
-674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

807 files changed

+147888
-674
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See README.txt

COPYING

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See LICENSE.txt

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See README.txt

INSTALL

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
It is advised to run ./autogen.sh before./configure (autoconf and automake
3+
need to be installed on your system for autogen.sh to work)
4+
5+
./configure has an option named --with-cuda that allows you to specify
6+
where your CUDA 5.5 toolkit is installed (usually /usr/local/cuda-5.5,
7+
but some distros may have a different default location)
8+
9+
See README.txt

LICENSE

+3-674
Large diffs are not rendered by default.

LICENSE.txt

+885
Large diffs are not rendered by default.

Makefile.am

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
if WANT_JANSSON
3+
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
4+
else
5+
JANSSON_INCLUDES=
6+
endif
7+
8+
EXTRA_DIST = autogen.sh README.txt LICENSE.txt \
9+
cudaminer.sln cudaminer.vcxproj cudaminer.vcxproj.filters \
10+
compat/gettimeofday.c compat/getopt/getopt_long.c cpuminer-config.h.in
11+
12+
SUBDIRS = compat
13+
14+
bin_PROGRAMS = ccminer
15+
16+
ccminer_SOURCES = elist.h miner.h compat.h \
17+
compat/inttypes.h compat/stdbool.h compat/unistd.h \
18+
compat/sys/time.h compat/getopt/getopt.h \
19+
cpu-miner.c util.c blake.c groestl.c hefty1.c keccak.c scrypt.c sha2.c \
20+
sph_blake.h sph_groestl.h sph_keccak.h sph_types.h \
21+
heavy.cu \
22+
cuda_blake512.cu cuda_blake512.h \
23+
cuda_combine.cu cuda_combine.h \
24+
cuda_groestl512.cu cuda_groestl512.h \
25+
cuda_hefty1.cu cuda_hefty1.h \
26+
cuda_keccak512.cu cuda_keccak512.h \
27+
cuda_sha256.cu cuda_sha256.h \
28+
cuda_fugue256.cu \
29+
fuguecoin.cpp fugue.c sph_fugue.h uint256.h
30+
31+
32+
ccminer_LDFLAGS = $(PTHREAD_FLAGS) @CUDA_LDFLAGS@
33+
ccminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ @CUDA_LIBS@ @OPENMP_CFLAGS@ @LIBS@
34+
ccminer_CPPFLAGS = -msse2 @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME
35+
36+
.cu.o:
37+
$(NVCC) @CFLAGS@ -Xptxas "-abi=no -v" -arch=compute_20 --maxrregcount=63 --ptxas-options=-v $(JANSSON_INCLUDES) -o $@ -c $<
38+
39+
## Thrust needs Compute 2.0 minimum
40+
#heavy.o: heavy.cu
41+
# $(NVCC) @CFLAGS@ -Xptxas "-abi=no -v" -arch=compute_20 --maxrregcount=63 --ptxas-options=-v $(JANSSON_INCLUDES) -o $@ -c $<
42+
#
43+
#cuda_hefty1.o: cuda_hefty1.cu
44+
# $(NVCC) @CFLAGS@ -Xptxas "-abi=no -v" -arch=compute_20 --maxrregcount=63 --ptxas-options=-v $(JANSSON_INCLUDES) -o $@ -c $<
45+

0 commit comments

Comments
 (0)