Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Remove __device__ from CUDA MR-based device allocators #1077

Merged
merged 1 commit into from
Mar 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions thrust/system/cuda/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ struct allocator

/*! No-argument constructor has no effect.
*/
__host__ __device__
__host__
inline allocator() {}

/*! Copy constructor has no effect.
*/
__host__ __device__
inline allocator(const allocator & other) : base(other) {}
inline allocator(const allocator & other) : base(other) {}

/*! Constructor from other \p allocator has no effect.
*/
Expand Down