Skip to content

Commit

Permalink
Correct style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Oct 30, 2024
1 parent 55e4190 commit 9d432af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/decisiontree/decisiontree.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ inline bool is_host_ptr(const void* p)
cudaPointerAttributes pointer_attr;
cudaError_t err = cudaPointerGetAttributes(&pointer_attr, p);
if (err == cudaSuccess) {
return (pointer_attr.hostPointer != nullptr ||
pointer_attr.type == cudaMemoryTypeUnregistered);
return (pointer_attr.hostPointer != nullptr || pointer_attr.type == cudaMemoryTypeUnregistered);
} else {
err = cudaGetLastError();
return false;
Expand Down

0 comments on commit 9d432af

Please sign in to comment.