Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 1457bf7

Browse files
committedJul 28, 2020
Delete unneeded free
- GPU reset will free all allocated memory
1 parent 09bf291 commit 1457bf7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎libethash-cuda/CUDAMiner.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ bool CUDAMiner::initEpoch_internal()
161161
ethash_generate_dag(
162162
m_epochContext.dagSize, m_settings.gridSize, m_settings.blockSize, m_streams[0]);
163163

164-
if (lightOnHost)
165-
CUDA_SAFE_CALL(cudaFreeHost(reinterpret_cast<void*>(light)));
166-
167164
cudalog << "Generated DAG + Light in "
168165
<< std::chrono::duration_cast<std::chrono::milliseconds>(
169166
std::chrono::steady_clock::now() - startInit)

0 commit comments

Comments
 (0)
This repository has been archived.