Windows compilation support.
This commit is contained in:
parent
3c856e9aae
commit
42216bbb55
14 changed files with 1817 additions and 14 deletions
|
@ -292,7 +292,7 @@ bool CudaHasher::buildThreadData() {
|
|||
}
|
||||
#else
|
||||
thread_data.threadsIdx = 0;
|
||||
thread_data.threads = device->profile_info.threads;
|
||||
thread_data.threads = device->profileInfo.threads;
|
||||
#endif
|
||||
|
||||
thread_data.argon2 = new Argon2(cuda_kernel_prehasher, cuda_kernel_filler, cuda_kernel_posthasher,
|
||||
|
|
|
@ -888,7 +888,7 @@ void cuda_allocate(CudaDeviceInfo *device, double chunks, size_t chunk_size) {
|
|||
#ifdef PARALLEL_CUDA
|
||||
int threads = device->profileInfo.threads / 2;
|
||||
#else
|
||||
int threads = device->profile_info.threads;
|
||||
int threads = device->profileInfo.threads;
|
||||
#endif
|
||||
|
||||
size_t preseed_memory_size = profile->pwdLen * 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue