Skip to content

Commit

Permalink
Merge pull request #3 from JohnnyFFM/merge11
Browse files Browse the repository at this point in the history
Merge 1.1 lost features
  • Loading branch information
JohnnyFFM committed Jun 8, 2018
2 parents 3c8df01 + a31123d commit db3d2f9
Show file tree
Hide file tree
Showing 10 changed files with 3,156 additions and 2,598 deletions.
392 changes: 194 additions & 198 deletions Nonce.cpp

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions Nonce.h
Expand Up @@ -5,25 +5,22 @@
#include <array>
#include <thread>
#include <string>
#include <intrin.h>



#define HASH_SIZE 32
#define HASH_CAP 4096
#define SCOOP_SIZE 64
#define PLOT_SIZE (HASH_CAP * SCOOP_SIZE) // 4096*64

extern std::array <char*, HASH_CAP * sizeof(char*)> cache;
extern std::vector<size_t> worker_status;

extern std::array <char*, HASH_CAP * sizeof(char*)> cache;
bool write_to_stream(const unsigned long long data);

namespace AVX2

namespace AVX1
{
void work_i(const size_t local_num, const unsigned long long loc_addr, const unsigned long long local_startnonce, const unsigned long long local_nonces);
}
namespace AVX1
namespace AVX2
{
void work_i(const size_t local_num, const unsigned long long loc_addr, const unsigned long long local_startnonce, const unsigned long long local_nonces);
}
Expand Down

0 comments on commit db3d2f9

Please sign in to comment.