Fixed an uninitialized pointer. (#3703)
This commit is contained in:
parent
20a9e716bd
commit
0f99cdfe0e
@ -383,7 +383,8 @@ struct DeviceShard {
|
||||
null_gidx_value(0),
|
||||
param(param),
|
||||
prediction_cache_initialised(false),
|
||||
can_use_smem_atomics(false) {}
|
||||
can_use_smem_atomics(false),
|
||||
tmp_pinned(nullptr) {}
|
||||
|
||||
void InitRowPtrs(const SparsePage& row_batch) {
|
||||
dh::safe_cuda(cudaSetDevice(device_idx));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user