Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RetiredC authored Dec 12, 2024
1 parent 49dade1 commit 7b74eb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions RCKangaroo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ void InitGpus()
cudaGetDeviceProperties(&deviceProp, i);
printf("GPU %d: %s, %.2f GB, %d CUs, cap %d.%d, PCI %d, L2 size: %d KB\r\n", i, deviceProp.name, ((float)(deviceProp.totalGlobalMem / (1024 * 1024))) / 1024.0f, deviceProp.multiProcessorCount, deviceProp.major, deviceProp.minor, deviceProp.pciBusID, deviceProp.l2CacheSize / 1024);

if (deviceProp.l2CacheSize < 16 * 1024 * 1024) //we need large L2 cache which is available for ADA and later. 16MB means RTX4050, the slowest card with minimal L2
if (deviceProp.major < 8)
{
printf("GPU %d - L2 cache size is too small for this application, skip\r\n", i);
printf("GPU %d - not supported, skip\r\n", i);
continue;
}

Expand Down Expand Up @@ -536,12 +536,12 @@ int main(int argc, char* argv[])
#endif

printf("********************************************************************************\r\n");
printf("* RCKangaroo v1.0 (c) 2024 RetiredCoder *\r\n");
printf("* RCKangaroo v1.1 (c) 2024 RetiredCoder *\r\n");
printf("********************************************************************************\r\n\r\n");

printf("This software is free and open-source: https://github.com/RetiredC\r\n");
printf("It demonstrates fast GPU implementation of SOTA Kangaroo method for solving ECDLP\r\n");
printf("NOTE: Only RTX 40xx and newer cards are supported.\r\n\r\n");
printf("NOTE: Only RTX 40xx and 30xx cards are supported.\r\n\r\n");
#ifdef DEBUG_MODE
printf("DEBUG MODE\r\n\r\n");
#endif
Expand Down
4 changes: 2 additions & 2 deletions RCKangaroo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<CudaCompile>
<CodeGeneration>compute_89,sm_89</CodeGeneration>
<CodeGeneration>compute_89,sm_89;compute_86,sm_86</CodeGeneration>
<MaxRegCount>0</MaxRegCount>
<FastMath>false</FastMath>
</CudaCompile>
Expand All @@ -138,7 +138,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<CudaCompile>
<CodeGeneration>compute_89,sm_89</CodeGeneration>
<CodeGeneration>compute_89,sm_89;compute_86,sm_86</CodeGeneration>
</CudaCompile>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Discussion thread: https://bitcointalk.org/index.php?topic=5517607

<b>Limitations:</b>

- Only RTX 40xx and newer GPUs are supported.
- Only RTX 40xx and 30xx GPUs are supported, but the software is optimized for 40xx only, so 30xx cards have bad speed.
- No advanced features like networking, saving/loading DPs, etc.

<b>Command line parameters:</b>
Expand Down

0 comments on commit 7b74eb2

Please sign in to comment.