diff --git a/projects/clr/rocclr/thread/semaphore.hpp b/projects/clr/rocclr/thread/semaphore.hpp index f2fa81e1f5..0615af0f83 100644 --- a/projects/clr/rocclr/thread/semaphore.hpp +++ b/projects/clr/rocclr/thread/semaphore.hpp @@ -42,7 +42,7 @@ namespace amd { class Thread; //! \brief Counting semaphore -class alignas(64) Semaphore : public HeapObject { +class Semaphore : public HeapObject { private: std::atomic_int state_; //!< This semaphore's value. @@ -67,9 +67,6 @@ public: void reset() { state_.store(0, std::memory_order_release); } }; -static_assert(sizeof(Semaphore) == 64 , - "unexpected total size of Semaphore"); - /*! @} * @} */