Browse Source

groestl: rename included cuda files

master
Tanguy Pruvot 10 years ago
parent
commit
48515ad707
  1. 16
      ccminer.vcxproj
  2. 12
      ccminer.vcxproj.filters
  3. 8
      cuda_groestlcoin.cu
  4. 6
      cuda_myriadgroestl.cu
  5. 4
      quark/cuda_quark_groestl512.cu
  6. 0
      quark/groestl_functions_quad.h
  7. 0
      quark/groestl_transf_quad.h

16
ccminer.vcxproj

@ -340,26 +340,18 @@ @@ -340,26 +340,18 @@
<ClInclude Include="sph\sph_types.h" />
<ClInclude Include="sph\sph_whirlpool.h" />
<ClInclude Include="uint256.h" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="lyra2\Lyra2.h" />
<ClInclude Include="lyra2\Sponge.h" />
<ClInclude Include="quark\groestl_transf_quad.h" />
<ClInclude Include="quark\groestl_functions_quad.h" />
</ItemGroup>
<ItemGroup>
<CudaCompile Include="cuda.cpp" />
<CudaCompile Include="bitslice_transformations_quad.cu">
<ExcludedFromBuild>true</ExcludedFromBuild>
</CudaCompile>
<CudaCompile Include="cuda_groestlcoin.cu">
</CudaCompile>
<CudaCompile Include="cuda_myriadgroestl.cu">
</CudaCompile>
<CudaCompile Include="cuda_groestlcoin.cu" />
<CudaCompile Include="cuda_myriadgroestl.cu" />
<CudaCompile Include="cuda_nist5.cu">
</CudaCompile>
<CudaCompile Include="zr5.cu" />
<CudaCompile Include="groestl_functions_quad.cu">
<ExcludedFromBuild>true</ExcludedFromBuild>
</CudaCompile>
<CudaCompile Include="heavy\cuda_blake512.cu">
</CudaCompile>
<CudaCompile Include="heavy\cuda_combine.cu">

12
ccminer.vcxproj.filters

@ -368,6 +368,12 @@ @@ -368,6 +368,12 @@
<ClInclude Include="lyra2\Sponge.h">
<Filter>Header Files\lyra2</Filter>
</ClInclude>
<ClInclude Include="quark\groestl_transf_quad.h">
<Filter>Source Files\CUDA\quark</Filter>
</ClInclude>
<ClInclude Include="quark\groestl_functions_quad.h">
<Filter>Source Files\CUDA\quark</Filter>
</ClInclude>
<ClInclude Include="res\resource.h">
<Filter>Ressources</Filter>
</ClInclude>
@ -379,9 +385,6 @@ @@ -379,9 +385,6 @@
<CudaCompile Include="cuda_groestlcoin.cu">
<Filter>Source Files\CUDA</Filter>
</CudaCompile>
<CudaCompile Include="bitslice_transformations_quad.cu">
<Filter>Source Files\CUDA</Filter>
</CudaCompile>
<CudaCompile Include="JHA\cuda_jha_keccak512.cu">
<Filter>Source Files\CUDA\JHA</Filter>
</CudaCompile>
@ -571,9 +574,6 @@ @@ -571,9 +574,6 @@
<CudaCompile Include="zr5.cu">
<Filter>Source Files\CUDA</Filter>
</CudaCompile>
<CudaCompile Include="groestl_functions_quad.cu">
<Filter>Source Files\CUDA\quark</Filter>
</CudaCompile>
<CudaCompile Include="skein.cu">
<Filter>Source Files\CUDA</Filter>
</CudaCompile>

8
cuda_groestlcoin.cu

@ -13,11 +13,9 @@ extern uint32_t *d_resultNonce[MAX_GPUS]; @@ -13,11 +13,9 @@ extern uint32_t *d_resultNonce[MAX_GPUS];
__constant__ uint32_t groestlcoin_gpu_msg[32];
#if __CUDA_ARCH__ >= 300
// 64 Registers Variant for Compute 3.0
#include "groestl_functions_quad.cu"
#include "bitslice_transformations_quad.cu"
// 64 Registers Variant for Compute 3.0+
#include "quark/groestl_functions_quad.h"
#include "quark/groestl_transf_quad.h"
#endif
#define SWAB32(x) cuda_swab32(x)

6
cuda_myriadgroestl.cu

@ -6,11 +6,9 @@ @@ -6,11 +6,9 @@
#include "cuda_helper.h"
#if __CUDA_ARCH__ >= 300
// 64 Registers Variant for Compute 3.0
#include "groestl_functions_quad.cu"
#include "bitslice_transformations_quad.cu"
#include "quark/groestl_functions_quad.h"
#include "quark/groestl_transf_quad.h"
#endif
// globaler Speicher für alle HeftyHashes aller Threads

4
quark/cuda_quark_groestl512.cu

@ -9,8 +9,8 @@ @@ -9,8 +9,8 @@
#define THF 4
#if __CUDA_ARCH__ >= 300
#include "groestl_functions_quad.cu"
#include "bitslice_transformations_quad.cu"
#include "quark/groestl_functions_quad.h"
#include "quark/groestl_transf_quad.h"
#endif
#include "quark/cuda_quark_groestl512_sm20.cu"

0
groestl_functions_quad.cu → quark/groestl_functions_quad.h

0
bitslice_transformations_quad.cu → quark/groestl_transf_quad.h

Loading…
Cancel
Save