Browse Source

neoscrypt: fix bad source file ext (cu/cpp)

2upstream
Tanguy Pruvot 10 years ago
parent
commit
e1b274ef65
  1. 2
      Makefile.am
  2. 1
      ccminer.cpp
  3. 2
      ccminer.vcxproj
  4. 6
      ccminer.vcxproj.filters
  5. 0
      neoscrypt.cpp
  6. 4
      pluck/pluck.cu

2
Makefile.am

@ -41,7 +41,7 @@ ccminer_SOURCES = elist.h miner.h compat.h \
quark/cuda_bmw512.cu quark/cuda_quark_keccak512.cu \ quark/cuda_bmw512.cu quark/cuda_quark_keccak512.cu \
quark/quarkcoin.cu quark/animecoin.cu \ quark/quarkcoin.cu quark/animecoin.cu \
quark/cuda_quark_compactionTest.cu \ quark/cuda_quark_compactionTest.cu \
neoscrypt.cu neoscrypt/neoscrypt.c neoscrypt/cuda_neoscrypt.cu \ neoscrypt.cpp neoscrypt/neoscrypt.c neoscrypt/cuda_neoscrypt.cu \
cuda_nist5.cu pentablake.cu skein.cu skein2.cu zr5.cu \ cuda_nist5.cu pentablake.cu skein.cu skein2.cu zr5.cu \
sph/bmw.c sph/blake.c sph/groestl.c sph/jh.c sph/keccak.c sph/skein.c \ sph/bmw.c sph/blake.c sph/groestl.c sph/jh.c sph/keccak.c sph/skein.c \
sph/cubehash.c sph/echo.c sph/luffa.c sph/sha2.c sph/shavite.c sph/simd.c \ sph/cubehash.c sph/echo.c sph/luffa.c sph/sha2.c sph/shavite.c sph/simd.c \

1
ccminer.cpp

@ -2139,6 +2139,7 @@ void parse_arg(int key, char *arg)
} }
for (n=0; n < ngpus; n++) for (n=0; n < ngpus; n++)
gpus_intensity[n] = (1 << v) + adds; gpus_intensity[n] = (1 << v) + adds;
if (opt_algo != ALGO_PLUCK && opt_algo != ALGO_NEOSCRYPT)
applog(LOG_INFO, "Intensity set to %.1f, %u cuda threads", applog(LOG_INFO, "Intensity set to %.1f, %u cuda threads",
d, gpus_intensity[0]); d, gpus_intensity[0]);
break; break;

2
ccminer.vcxproj

@ -266,6 +266,7 @@
<ClCompile Include="lyra2\Lyra2.c" /> <ClCompile Include="lyra2\Lyra2.c" />
<ClCompile Include="lyra2\Sponge.c" /> <ClCompile Include="lyra2\Sponge.c" />
<ClCompile Include="neoscrypt\neoscrypt.c" /> <ClCompile Include="neoscrypt\neoscrypt.c" />
<ClCompile Include="neoscrypt.cpp" />
<ClCompile Include="sph\aes_helper.c" /> <ClCompile Include="sph\aes_helper.c" />
<ClCompile Include="sph\blake.c" /> <ClCompile Include="sph\blake.c" />
<ClCompile Include="sph\bmw.c" /> <ClCompile Include="sph\bmw.c" />
@ -436,7 +437,6 @@
<AdditionalOptions Condition="'$(Configuration)'=='Release'">-Xptxas "-abi=yes" %(AdditionalOptions)</AdditionalOptions> <AdditionalOptions Condition="'$(Configuration)'=='Release'">-Xptxas "-abi=yes" %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)'=='Debug'">-Xptxas "-abi=yes" %(AdditionalOptions)</AdditionalOptions> <AdditionalOptions Condition="'$(Configuration)'=='Debug'">-Xptxas "-abi=yes" %(AdditionalOptions)</AdditionalOptions>
</CudaCompile> </CudaCompile>
<CudaCompile Include="neoscrypt.cu" />
<CudaCompile Include="neoscrypt\cuda_neoscrypt.cu" /> <CudaCompile Include="neoscrypt\cuda_neoscrypt.cu" />
<CudaCompile Include="pluck\pluck.cu" /> <CudaCompile Include="pluck\pluck.cu" />
<CudaCompile Include="pluck\cuda_pluck.cu" /> <CudaCompile Include="pluck\cuda_pluck.cu" />

6
ccminer.vcxproj.filters

@ -120,6 +120,9 @@
<ClCompile Include="groestlcoin.cpp"> <ClCompile Include="groestlcoin.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="neoscrypt.cpp">
<Filter>Source Files</Filter>
</CudaCompile>
<ClCompile Include="sph\aes_helper.c"> <ClCompile Include="sph\aes_helper.c">
<Filter>Source Files\sph</Filter> <Filter>Source Files\sph</Filter>
</ClCompile> </ClCompile>
@ -625,9 +628,6 @@
<CudaCompile Include="neoscrypt\cuda_neoscrypt.cu"> <CudaCompile Include="neoscrypt\cuda_neoscrypt.cu">
<Filter>Source Files\CUDA</Filter> <Filter>Source Files\CUDA</Filter>
</CudaCompile> </CudaCompile>
<CudaCompile Include="neoscrypt.cu">
<Filter>Source Files</Filter>
</CudaCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Image Include="res\ccminer.ico"> <Image Include="res\ccminer.ico">

0
neoscrypt.cu → neoscrypt.cpp

4
pluck/pluck.cu

@ -202,6 +202,10 @@ extern "C" int scanhash_pluck(int thr_id, uint32_t *pdata, const uint32_t *ptarg
scratchbuf = (uchar*) calloc(opt_pluck_n, 1024); scratchbuf = (uchar*) calloc(opt_pluck_n, 1024);
pluck_cpu_init(thr_id, throughput, d_hash[thr_id]); pluck_cpu_init(thr_id, throughput, d_hash[thr_id]);
CUDA_SAFE_CALL(cudaGetLastError());
applog(LOG_INFO, "Using %d cuda threads", throughput);
init[thr_id] = true; init[thr_id] = true;
} }

Loading…
Cancel
Save