Commit 667e52cc authored by inumellc's avatar inumellc
Browse files

Changed the DeviceMem default constructor definiton

parent c996cddf
...@@ -32,7 +32,7 @@ inline void hip_check_error(hipError_t x) ...@@ -32,7 +32,7 @@ inline void hip_check_error(hipError_t x)
struct DeviceMem struct DeviceMem
{ {
DeviceMem() = delete; DeviceMem() = default;
DeviceMem(std::size_t mem_size); DeviceMem(std::size_t mem_size);
void* GetDeviceBuffer(); void* GetDeviceBuffer();
std::size_t GetBufferSize(); std::size_t GetBufferSize();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment