20 #if !defined(__MITSUBA_HW_GPUSYNC_H_)
21 #define __MITSUBA_HW_GPUSYNC_H_
37 virtual void init() = 0;
40 virtual void wait() = 0;
43 virtual void enqueueWait() = 0;
46 virtual void cleanup() = 0;
Abstract GPU synchronization object implementing a memory fence operation.
Definition: gpusync.h:31
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
Parent of all Mitsuba classes.
Definition: object.h:38
virtual std::string toString() const
Return a human-readable string representation of the object's contents.