[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT/PYTORCH PATCH v2 3/5] Add gluecode



Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxx>
---
 glue.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 glue.c

diff --git a/glue.c b/glue.c
new file mode 100644
index 0000000..5069484
--- /dev/null
+++ b/glue.c
@@ -0,0 +1,44 @@
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <signal.h>
+
+int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options)
+{
+       return 0;
+}
+
+#include <fenv.h>
+int feclearexcept(int excepts)
+{
+
+}
+int fegetexceptflag(fexcept_t *flagp, int excepts)
+{
+}
+int feraiseexcept(int excepts)
+{
+}
+int fesetexceptflag(const fexcept_t *flagp, int excepts)
+{
+}
+int fetestexcept(int excepts)
+{
+}
+int fegetround(void)
+{
+}
+int fesetround(int rounding_mode)
+{
+}
+int fegetenv(fenv_t *envp)
+{
+}
+int feholdexcept(fenv_t *envp)
+{
+}
+int fesetenv(const fenv_t *envp)
+{
+}
+int feupdateenv(const fenv_t *envp)
+{
+}
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.