From ae4363897460a73c62f51434456b925927e75008 Mon Sep 17 00:00:00 2001 From: Akash Kothari <akashk4@tyler.cs.illinois.edu> Date: Tue, 22 Dec 2020 12:48:20 -0600 Subject: [PATCH] Minor modifications and cleanups to hpvm.h dnn header --- hpvm/test/dnn_benchmarks/include/hpvm.h | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/hpvm/test/dnn_benchmarks/include/hpvm.h b/hpvm/test/dnn_benchmarks/include/hpvm.h index a354d7c096..99cfebff31 100644 --- a/hpvm/test/dnn_benchmarks/include/hpvm.h +++ b/hpvm/test/dnn_benchmarks/include/hpvm.h @@ -10,23 +10,15 @@ #define DEVICE CUDNN_TARGET #endif -#include "SupportHPVM/HPVMHint.h" +#include "../../../include/SupportHPVM/HPVMHint.h" #ifdef __cplusplus extern "C" { -void __hpvm__hint(visc::Target); +void __hpvm__hint(hpvm::Target); #else void __hpvm__hint(enum Target); #endif -#ifdef __cplusplus -void* __hpvm__node(...); -//void* __hpvm__createNode(...); -//void* __hpvm__createNode1D(...); -//void* __hpvm__createNode2D(...); -//void* __hpvm__createNode3D(...); -//void __hpvm__return(...); -#endif void* __hpvm__createNodeND(unsigned, ...); void __hpvm__return(unsigned, ...); @@ -75,18 +67,6 @@ float __hpvm__rsqrt(float); float __hpvm__sqrt(float); float __hpvm__sin(float); float __hpvm__cos(float); -// unsigned int -//unsigned __hpvm__atomic_cmpxchg(unsigned*, unsigned, unsigned); -//unsigned __hpvm__atomic_add(unsigned*, unsigned); -//unsigned __hpvm__atomic_sub(unsigned*, unsigned); -//unsigned __hpvm__atomic_xchg(unsigned*, unsigned); -//unsigned __hpvm__atomic_inc(unsigned*); -//unsigned __hpvm__atomic_dec(unsigned*); -//unsigned __hpvm__atomic_min(unsigned*, unsigned); -//unsigned __hpvm__atomic_max(unsigned*, unsigned); -//unsigned __hpvm__atomic_and(unsigned*, unsigned); -//unsigned __hpvm__atomic_or(unsigned*, unsigned); -//unsigned __hpvm__atomic_xor(unsigned*, unsigned); /* * ApproxHPVM specific function calls -- GitLab