From 464bbf2b42af714352e503583560b3f70781a602 Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Thu, 21 Jan 2021 15:49:16 -0600
Subject: [PATCH] Change PROMISE_TARGET to TENSOR_TARGET

---
 .../FuseHPVMTensorNodes/FuseHPVMTensorNodes.h |   2 +-
 hpvm/include/SupportHPVM/DFG2LLVM.h           |   4 +-
 hpvm/include/SupportHPVM/DFGraph.h            |  10 +-
 hpvm/include/SupportHPVM/HPVMHint.h           |   2 +-
 hpvm/include/SupportHPVM/HPVMUtils.h          |  20 +-
 .../Transforms/DFG2LLVM_CPU/DFG2LLVM_CPU.cpp  |   8 +-
 .../DFG2LLVM_WrapperAPI.cpp                   |   4 +-
 .../FuseHPVMTensorNodes.cpp                   |   2 +-
 .../benchmarks/alexnet/alexnet_loop.cpp       |  40 +-
 .../benchmarks/alexnet2/alexnet2_loop.cpp     |  46 +-
 .../alexnet_imagenet_loop.cpp                 |  52 +-
 .../lenet_mnist/lenet_mnist_loop.cpp          |  28 +-
 .../benchmarks/mobilenet/mobilenet_loop.cpp   |  32 +-
 .../benchmarks/resnet18/resnet18_loop.cpp     | 108 ++---
 .../resnet50_imagenet_loop.cpp                | 458 +++++++++---------
 .../vgg16_cifar10/vgg16_cifar10_loop.cpp      |  98 ++--
 .../vgg16_cifar100/vgg16_cifar100_loop.cpp    |  98 ++--
 .../vgg16_imagenet/vgg16_imagenet_loop.cpp    | 104 ++--
 18 files changed, 558 insertions(+), 558 deletions(-)

diff --git a/hpvm/include/FuseHPVMTensorNodes/FuseHPVMTensorNodes.h b/hpvm/include/FuseHPVMTensorNodes/FuseHPVMTensorNodes.h
index ce6725b930..a76b63caa4 100644
--- a/hpvm/include/FuseHPVMTensorNodes/FuseHPVMTensorNodes.h
+++ b/hpvm/include/FuseHPVMTensorNodes/FuseHPVMTensorNodes.h
@@ -138,7 +138,7 @@ public:
 
   FindFusionTargetsTraversal(Module &_M, builddfg::BuildDFG &_DFG) :
     CodeGenTraversal(_M, _DFG) {
-/*    FPs[hpvm::PROMISE_TARGET] = { {Intrinsic::visc_tensor_conv,
+/*    FPs[hpvm::TENSOR_TARGET] = { {Intrinsic::visc_tensor_conv,
                                    Intrinsic::hpvm_tensor_add,
                                    Intrinsic::hpvm_tensor_relu,
                                    Intrinsic::hpvm_tensor_pooling
diff --git a/hpvm/include/SupportHPVM/DFG2LLVM.h b/hpvm/include/SupportHPVM/DFG2LLVM.h
index ae3a8cd906..b25fec0764 100644
--- a/hpvm/include/SupportHPVM/DFG2LLVM.h
+++ b/hpvm/include/SupportHPVM/DFG2LLVM.h
@@ -174,7 +174,7 @@ bool CodeGenTraversal::checkPreferredTarget(DFNode *N, hpvm::Target T) {
   case hpvm::CPU_TARGET:
     HintNode = M->getOrInsertNamedMetadata("hpvm_hint_cpu");
     break;
-  case hpvm::PROMISE_TARGET:
+  case hpvm::TENSOR_TARGET:
     HintNode = M->getOrInsertNamedMetadata("hpvm_hint_promise");
     break;
   default:
@@ -211,7 +211,7 @@ bool CodeGenTraversal::preferredTargetIncludes(DFNode *N, hpvm::Target T) {
   case hpvm::CUDNN_TARGET:
     HintNode.push_back(M->getOrInsertNamedMetadata("hpvm_hint_cudnn"));
     break;
-  case hpvm::PROMISE_TARGET:
+  case hpvm::TENSOR_TARGET:
     HintNode.push_back(M->getOrInsertNamedMetadata("hpvm_hint_promise"));
     break;
   case hpvm::CPU_OR_GPU_TARGET:
diff --git a/hpvm/include/SupportHPVM/DFGraph.h b/hpvm/include/SupportHPVM/DFGraph.h
index 9e938e301d..adc5f9291d 100644
--- a/hpvm/include/SupportHPVM/DFGraph.h
+++ b/hpvm/include/SupportHPVM/DFGraph.h
@@ -357,7 +357,7 @@ public:
     case hpvm::GPU_TARGET:
       GenFuncInfo.gpu_hasCPUFunc = isCPUFunc;
       break;
-    case hpvm::PROMISE_TARGET:
+    case hpvm::TENSOR_TARGET:
       GenFuncInfo.promise_hasCPUFunc = isCPUFunc;
       break;
     case hpvm::CUDNN_TARGET:
@@ -382,7 +382,7 @@ public:
       return GenFuncInfo.gpu_hasCPUFunc;
     case hpvm::CUDNN_TARGET:
       return GenFuncInfo.cudnn_hasCPUFunc;
-    case hpvm::PROMISE_TARGET:
+    case hpvm::TENSOR_TARGET:
       return GenFuncInfo.promise_hasCPUFunc;
     case hpvm::CPU_OR_GPU_TARGET:
       assert(false && "Single target expected (CPU/GPU/SPIR/CUDNN/PROMISE)\n");
@@ -419,7 +419,7 @@ public:
       GenFuncs.CUDNNGenFunc = F;
       GenFuncInfo.cudnn_hasCPUFunc = isCPUFunc;
       break;
-    case hpvm::PROMISE_TARGET:
+    case hpvm::TENSOR_TARGET:
       if (GenFuncs.PROMISEGenFunc != NULL) {
          DEBUG(errs() << "Warning: Second generated PROMISE function for node "
                  << FuncPointer->getName() << "\n");
@@ -447,7 +447,7 @@ public:
       return GenFuncs.GPUGenFunc;
     case hpvm::CUDNN_TARGET:
       return GenFuncs.CUDNNGenFunc;
-    case hpvm::PROMISE_TARGET:
+    case hpvm::TENSOR_TARGET:
       return GenFuncs.PROMISEGenFunc;
     case hpvm::CPU_OR_GPU_TARGET:
       assert(false &&
@@ -475,7 +475,7 @@ public:
       GenFuncs.CUDNNGenFunc = NULL;
       GenFuncInfo.cudnn_hasCPUFunc = false;
       break;
-    case hpvm::PROMISE_TARGET:
+    case hpvm::TENSOR_TARGET:
       GenFuncs.PROMISEGenFunc = NULL;
       GenFuncInfo.promise_hasCPUFunc = false;
       break;
diff --git a/hpvm/include/SupportHPVM/HPVMHint.h b/hpvm/include/SupportHPVM/HPVMHint.h
index 7677b01ae2..25020e8201 100644
--- a/hpvm/include/SupportHPVM/HPVMHint.h
+++ b/hpvm/include/SupportHPVM/HPVMHint.h
@@ -20,7 +20,7 @@ enum Target {
   CPU_TARGET,
   GPU_TARGET,
   CUDNN_TARGET,
-  PROMISE_TARGET,
+  TENSOR_TARGET,
   CPU_OR_GPU_TARGET,
   //    ALL_TARGETS,
   NUM_TARGETS
diff --git a/hpvm/include/SupportHPVM/HPVMUtils.h b/hpvm/include/SupportHPVM/HPVMUtils.h
index 8df1af8310..9a91494a41 100644
--- a/hpvm/include/SupportHPVM/HPVMUtils.h
+++ b/hpvm/include/SupportHPVM/HPVMUtils.h
@@ -398,8 +398,8 @@ bool tagIncludesTarget(hpvm::Target Tag, hpvm::Target T) {
       if (T == hpvm::CUDNN_TARGET)
         return true;
       return false;
-  case hpvm::PROMISE_TARGET:
-      if (T == hpvm::PROMISE_TARGET)
+  case hpvm::TENSOR_TARGET:
+      if (T == hpvm::TENSOR_TARGET)
         return true;
       return false;
   default:
@@ -409,13 +409,13 @@ bool tagIncludesTarget(hpvm::Target Tag, hpvm::Target T) {
 
 bool isSingleTargetTag(hpvm::Target T) {
   return ((T == hpvm::CPU_TARGET) || (T == hpvm::GPU_TARGET) 
-       || (T == hpvm::CUDNN_TARGET) || (T == hpvm::PROMISE_TARGET));
+       || (T == hpvm::CUDNN_TARGET) || (T == hpvm::TENSOR_TARGET));
 }
 
 // Add the specified target to the given tag
 hpvm::Target getUpdatedTag(hpvm::Target Tag, hpvm::Target T) {
   assert(((T == hpvm::CPU_TARGET) || (T == hpvm::GPU_TARGET) 
-       || (T == hpvm::CUDNN_TARGET) || (T == hpvm::PROMISE_TARGET)) &&
+       || (T == hpvm::CUDNN_TARGET) || (T == hpvm::TENSOR_TARGET)) &&
          "The target is only allowed to be a single target: CPU, GPU, SPIR, "
          "CUDNN, PROMISE\n");
 
@@ -423,21 +423,21 @@ hpvm::Target getUpdatedTag(hpvm::Target Tag, hpvm::Target T) {
   case hpvm::None:
     return T;
   case hpvm::CPU_TARGET:
-    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::PROMISE_TARGET) && "Unsupported target combination\n");
+    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::TENSOR_TARGET) && "Unsupported target combination\n");
     if (T == hpvm::CPU_TARGET)
       return hpvm::CPU_TARGET;
     if (T == hpvm::GPU_TARGET)
       return hpvm::CPU_OR_GPU_TARGET;
     return T;
   case hpvm::GPU_TARGET:
-    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::PROMISE_TARGET) && "Unsupported target combination\n");
+    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::TENSOR_TARGET) && "Unsupported target combination\n");
     if (T == hpvm::CPU_TARGET)
       return hpvm::CPU_OR_GPU_TARGET;
     if (T == hpvm::GPU_TARGET)
       return hpvm::GPU_TARGET;
     return T;
   case hpvm::CPU_OR_GPU_TARGET:
-    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::PROMISE_TARGET) && "Unsupported target combination\n");
+    assert((T != hpvm::CUDNN_TARGET) && (T != hpvm::TENSOR_TARGET) && "Unsupported target combination\n");
     return hpvm::CPU_OR_GPU_TARGET; 
   default:
     assert(false && "Unknown Target\n");
@@ -471,7 +471,7 @@ void addHint(Function *F, hpvm::Target T) {
       DEBUG(errs() << "CUDNN Target\n");
       HintNode = M->getOrInsertNamedMetadata("hpvm_hint_cudnn");
       break;
-  case hpvm::PROMISE_TARGET:
+  case hpvm::TENSOR_TARGET:
       DEBUG(errs() << "PROMISE Target\n");
       errs() << "PROMISE\n";
       HintNode = M->getOrInsertNamedMetadata("hpvm_hint_promise");
@@ -509,7 +509,7 @@ void removeHint(Function *F, hpvm::Target T) {
   case hpvm::CUDNN_TARGET:
       HintNode = M->getOrInsertNamedMetadata("hpvm_hint_cudnn");
       break;
-  case hpvm::PROMISE_TARGET:
+  case hpvm::TENSOR_TARGET:
       HintNode = M->getOrInsertNamedMetadata("hpvm_hint_promise");
       break;
   default:
@@ -562,7 +562,7 @@ hpvm::Target getPreferredTarget(Function *F) {
   if (FoundPrefTarget("hpvm_hint_cudnn"))
     return hpvm::CUDNN_TARGET;
   if (FoundPrefTarget("hpvm_hint_promise"))
-    return hpvm::PROMISE_TARGET;
+    return hpvm::TENSOR_TARGET;
   return hpvm::None;
 }
 
diff --git a/hpvm/lib/Transforms/DFG2LLVM_CPU/DFG2LLVM_CPU.cpp b/hpvm/lib/Transforms/DFG2LLVM_CPU/DFG2LLVM_CPU.cpp
index 349614f019..08a2559ee0 100644
--- a/hpvm/lib/Transforms/DFG2LLVM_CPU/DFG2LLVM_CPU.cpp
+++ b/hpvm/lib/Transforms/DFG2LLVM_CPU/DFG2LLVM_CPU.cpp
@@ -1455,12 +1455,12 @@ void CGT_CPU::codeGen(DFLeafNode *N) {
         N->setTag(hpvm::CPU_TARGET);
         break; 
      }
-     case hpvm::PROMISE_TARGET: 
+     case hpvm::TENSOR_TARGET: 
      {
        errs() << "Promise hint found. Store PROMISE function as CPU funtion.\n";
        // Make sure there is a generated x86 function for promise
-       assert(N->getGenFuncForTarget(hpvm::PROMISE_TARGET) && "");
-       assert(N->hasCPUGenFuncForTarget(hpvm::PROMISE_TARGET) && "");
+       assert(N->getGenFuncForTarget(hpvm::TENSOR_TARGET) && "");
+       assert(N->hasCPUGenFuncForTarget(hpvm::TENSOR_TARGET) && "");
        // Store the PROMISE x86 function as the CPU generated function
        Function *Ftmp = N->getGenFuncForTarget(N->getTag());
        // after adding the required number of arguments
@@ -1469,7 +1469,7 @@ void CGT_CPU::codeGen(DFLeafNode *N) {
        }
 
        N->setTag(hpvm::None);
-       N->removeGenFuncForTarget(hpvm::PROMISE_TARGET);
+       N->removeGenFuncForTarget(hpvm::TENSOR_TARGET);
        N->addGenFunc(Ftmp, hpvm::CPU_TARGET, true);
        N->setTag(hpvm::CPU_TARGET);
        break;
diff --git a/hpvm/lib/Transforms/DFG2LLVM_WrapperAPI/DFG2LLVM_WrapperAPI.cpp b/hpvm/lib/Transforms/DFG2LLVM_WrapperAPI/DFG2LLVM_WrapperAPI.cpp
index 09d6347b54..b400c12021 100644
--- a/hpvm/lib/Transforms/DFG2LLVM_WrapperAPI/DFG2LLVM_WrapperAPI.cpp
+++ b/hpvm/lib/Transforms/DFG2LLVM_WrapperAPI/DFG2LLVM_WrapperAPI.cpp
@@ -1369,7 +1369,7 @@ void CGT_WrapperAPI::codeGen(DFLeafNode *N) {
   // Look up if we have visited this function before. If we have, then just
   // get the cloned function pointer from DFNode. Otherwise, create the cloned
   // function and add it to the DFNode GenFunc.
-  Function *F_wrapper_api = N->getGenFuncForTarget(hpvm::PROMISE_TARGET);
+  Function *F_wrapper_api = N->getGenFuncForTarget(hpvm::TENSOR_TARGET);
 
   assert((F_wrapper_api == NULL) &&
          "Error: Visiting a node for which code already generated");
@@ -1383,7 +1383,7 @@ void CGT_WrapperAPI::codeGen(DFLeafNode *N) {
   F_wrapper_api->removeFromParent();
   M.getFunctionList().push_back(F_wrapper_api);
 
-  N->addGenFunc(F_wrapper_api, hpvm::PROMISE_TARGET, true);
+  N->addGenFunc(F_wrapper_api, hpvm::TENSOR_TARGET, true);
 
   /* Removing HPVM in/out/inout function attributes */
   for (Function::arg_iterator ai = F_wrapper_api->arg_begin(),
diff --git a/hpvm/lib/Transforms/FuseHPVMTensorNodes/FuseHPVMTensorNodes.cpp b/hpvm/lib/Transforms/FuseHPVMTensorNodes/FuseHPVMTensorNodes.cpp
index e0032eaaf4..bb793dab6e 100644
--- a/hpvm/lib/Transforms/FuseHPVMTensorNodes/FuseHPVMTensorNodes.cpp
+++ b/hpvm/lib/Transforms/FuseHPVMTensorNodes/FuseHPVMTensorNodes.cpp
@@ -831,7 +831,7 @@ void FindFusionTargetsTraversal::codeGen(DFLeafNode *N) {
   }
   errs() << "THIS IS NOT A DUMMY NODE\n";
   errs() << "INTRINSIC: " << *isValidHPVMTensorNode(N) << "\n";
-  if(!preferredTargetIncludes(N, hpvm::PROMISE_TARGET)) {
+  if(!preferredTargetIncludes(N, hpvm::TENSOR_TARGET)) {
     // Only fuse if we plan to target PROMISE/Layers API
     // The CUDNN backend would be able to generate calls for the fused node,
     // but not the other way around
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/alexnet/alexnet_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/alexnet/alexnet_loop.cpp
index 5a8b87eb5a..726abe4f2e 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/alexnet/alexnet_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/alexnet/alexnet_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 5, 5, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 2, 2, 1, 1);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/alexnet2/alexnet2_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/alexnet2/alexnet2_loop.cpp
index 03a9df14b0..811edbd494 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/alexnet2/alexnet2_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/alexnet2/alexnet2_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -171,7 +171,7 @@ void var_19_node(void *t1, size_t bytes_t1) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -179,7 +179,7 @@ void var_20_node(void *t1, size_t bytes_t1) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -187,7 +187,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/alexnet_imagenet/alexnet_imagenet_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/alexnet_imagenet/alexnet_imagenet_loop.cpp
index 5902772806..c8d5d2437e 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/alexnet_imagenet/alexnet_imagenet_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/alexnet_imagenet/alexnet_imagenet_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 2, 2, 4, 4);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 3, 3, 0, 0, 2, 2);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 2, 2, 1, 1);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 3, 3, 0, 0, 2, 2);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 3, 3, 0, 0, 2, 2);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -171,7 +171,7 @@ void var_19_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -179,7 +179,7 @@ void var_20_node(void *t1, size_t bytes_t1) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -187,7 +187,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -195,7 +195,7 @@ void var_22_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_23_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -203,7 +203,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -211,7 +211,7 @@ void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/lenet_mnist/lenet_mnist_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/lenet_mnist/lenet_mnist_loop.cpp
index 646fee2749..a4dc5eb9c2 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/lenet_mnist/lenet_mnist_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/lenet_mnist/lenet_mnist_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 2, 2, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 2, 2, 1, 1);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_tanh(t1);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/mobilenet/mobilenet_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/mobilenet/mobilenet_loop.cpp
index cb04d21144..047697767d 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/mobilenet/mobilenet_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/mobilenet/mobilenet_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -63,7 +63,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -115,7 +115,7 @@ void var_11_node(void *t1, size_t bytes_t1) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -167,7 +167,7 @@ void var_17_node(void *t1, size_t bytes_t1) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -219,7 +219,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -271,7 +271,7 @@ void var_29_node(void *t1, size_t bytes_t1) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -323,7 +323,7 @@ void var_35_node(void *t1, size_t bytes_t1) {
 }
 
 void var_36_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -375,7 +375,7 @@ void var_41_node(void *t1, size_t bytes_t1) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -427,7 +427,7 @@ void var_47_node(void *t1, size_t bytes_t1) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -479,7 +479,7 @@ void var_53_node(void *t1, size_t bytes_t1) {
 }
 
 void var_54_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -531,7 +531,7 @@ void var_59_node(void *t1, size_t bytes_t1) {
 }
 
 void var_60_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -583,7 +583,7 @@ void var_65_node(void *t1, size_t bytes_t1) {
 }
 
 void var_66_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -635,7 +635,7 @@ void var_71_node(void *t1, size_t bytes_t1) {
 }
 
 void var_72_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -687,7 +687,7 @@ void var_77_node(void *t1, size_t bytes_t1) {
 }
 
 void var_78_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1);
@@ -721,7 +721,7 @@ void var_81_node(void *t1, size_t bytes_t1) {
 }
 
 void var_82_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -729,7 +729,7 @@ void var_82_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_83_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/resnet18/resnet18_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/resnet18/resnet18_loop.cpp
index 44601685d7..a0e62d3b58 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/resnet18/resnet18_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/resnet18/resnet18_loop.cpp
@@ -12,7 +12,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(1);
 
@@ -21,7 +21,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(2);
 
@@ -30,7 +30,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(3);
 
@@ -39,7 +39,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(4);
 
@@ -48,7 +48,7 @@ void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(5);
 
@@ -57,7 +57,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(6);
 
@@ -66,7 +66,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(7);
 
@@ -75,7 +75,7 @@ void var_6_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(8);
 
@@ -102,7 +102,7 @@ void var_9_node(void *t1, size_t bytes_t1) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(11);
 
@@ -111,7 +111,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(12);
 
@@ -120,7 +120,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(13);
 
@@ -129,7 +129,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(14);
 
@@ -138,7 +138,7 @@ void var_13_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(15);
 
@@ -165,7 +165,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(18);
 
@@ -174,7 +174,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(19);
 
@@ -183,7 +183,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(20);
 
@@ -192,7 +192,7 @@ void var_19_node(void *t1, size_t bytes_t1) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(21);
 
@@ -201,7 +201,7 @@ void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(22);
 
@@ -228,7 +228,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(25);
 
@@ -237,7 +237,7 @@ void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(26);
 
@@ -246,7 +246,7 @@ void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_26_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(27);
 
@@ -255,7 +255,7 @@ void var_26_node(void *t1, size_t bytes_t1) {
 }
 
 void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(28);
 
@@ -264,7 +264,7 @@ void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(29);
 
@@ -273,7 +273,7 @@ void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_29_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(30);
 
@@ -282,7 +282,7 @@ void var_29_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(31);
 
@@ -309,7 +309,7 @@ void var_32_node(void *t1, size_t bytes_t1) {
 }
 
 void var_33_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(34);
 
@@ -318,7 +318,7 @@ void var_33_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(35);
 
@@ -327,7 +327,7 @@ void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_35_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(36);
 
@@ -336,7 +336,7 @@ void var_35_node(void *t1, size_t bytes_t1) {
 }
 
 void var_36_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(37);
 
@@ -345,7 +345,7 @@ void var_36_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(38);
 
@@ -372,7 +372,7 @@ void var_39_node(void *t1, size_t bytes_t1) {
 }
 
 void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(41);
 
@@ -381,7 +381,7 @@ void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(42);
 
@@ -390,7 +390,7 @@ void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(43);
 
@@ -399,7 +399,7 @@ void var_42_node(void *t1, size_t bytes_t1) {
 }
 
 void var_43_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(44);
 
@@ -408,7 +408,7 @@ void var_43_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(45);
 
@@ -435,7 +435,7 @@ void var_46_node(void *t1, size_t bytes_t1) {
 }
 
 void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(48);
 
@@ -444,7 +444,7 @@ void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(49);
 
@@ -453,7 +453,7 @@ void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_49_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(50);
 
@@ -462,7 +462,7 @@ void var_49_node(void *t1, size_t bytes_t1) {
 }
 
 void var_50_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(51);
 
@@ -471,7 +471,7 @@ void var_50_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_51_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(52);
 
@@ -480,7 +480,7 @@ void var_51_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_52_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(53);
 
@@ -489,7 +489,7 @@ void var_52_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_53_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(54);
 
@@ -516,7 +516,7 @@ void var_55_node(void *t1, size_t bytes_t1) {
 }
 
 void var_56_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(57);
 
@@ -525,7 +525,7 @@ void var_56_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_57_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(58);
 
@@ -534,7 +534,7 @@ void var_57_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_58_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(59);
 
@@ -543,7 +543,7 @@ void var_58_node(void *t1, size_t bytes_t1) {
 }
 
 void var_59_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(60);
 
@@ -552,7 +552,7 @@ void var_59_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_60_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(61);
 
@@ -579,7 +579,7 @@ void var_62_node(void *t1, size_t bytes_t1) {
 }
 
 void var_63_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(64);
 
@@ -588,7 +588,7 @@ void var_63_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_64_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(65);
 
@@ -597,7 +597,7 @@ void var_64_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_65_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(66);
 
@@ -606,7 +606,7 @@ void var_65_node(void *t1, size_t bytes_t1) {
 }
 
 void var_66_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(67);
 
@@ -615,7 +615,7 @@ void var_66_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_67_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(68);
 
@@ -651,7 +651,7 @@ void var_70_node(void *t1, size_t bytes_t1) {
 }
 
 void var_71_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(72);
 
@@ -660,7 +660,7 @@ void var_71_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_72_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(73);
 
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/resnet50_imagenet/resnet50_imagenet_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/resnet50_imagenet/resnet50_imagenet_loop.cpp
index 09e5709c7d..42bad74ac3 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/resnet50_imagenet/resnet50_imagenet_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/resnet50_imagenet/resnet50_imagenet_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(1);
 
@@ -20,7 +20,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(2);
 
@@ -29,7 +29,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(3);
 
@@ -38,7 +38,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(4);
 
@@ -49,7 +49,7 @@ void var_3_node(void *t1, size_t bytes_t1) {
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                 size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                 size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(5);
 
@@ -58,7 +58,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(6);
 
@@ -67,7 +67,7 @@ void var_5_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(7);
 
@@ -78,7 +78,7 @@ void var_6_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                 size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                 size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(8);
 
@@ -87,7 +87,7 @@ void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_8_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(9);
 
@@ -96,7 +96,7 @@ void var_8_node(void *t1, size_t bytes_t1) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(10);
 
@@ -105,7 +105,7 @@ void var_9_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(11);
 
@@ -116,7 +116,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(12);
 
@@ -125,7 +125,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(13);
 
@@ -134,7 +134,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(14);
 
@@ -143,7 +143,7 @@ void var_13_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(15);
 
@@ -154,7 +154,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(16);
 
@@ -163,7 +163,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_16_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(17);
 
@@ -172,7 +172,7 @@ void var_16_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(18);
 
@@ -183,7 +183,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(19);
 
@@ -192,7 +192,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_19_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(20);
 
@@ -201,7 +201,7 @@ void var_19_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(21);
 
@@ -210,7 +210,7 @@ void var_20_node(void *t1, size_t bytes_t1) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(22);
 
@@ -219,7 +219,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(23);
 
@@ -230,7 +230,7 @@ void var_22_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_23_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(24);
 
@@ -239,7 +239,7 @@ void var_23_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_24_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(25);
 
@@ -248,7 +248,7 @@ void var_24_node(void *t1, size_t bytes_t1) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(26);
 
@@ -257,7 +257,7 @@ void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_26_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(27);
 
@@ -268,7 +268,7 @@ void var_26_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(28);
 
@@ -277,7 +277,7 @@ void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_28_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(29);
 
@@ -286,7 +286,7 @@ void var_28_node(void *t1, size_t bytes_t1) {
 }
 
 void var_29_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(30);
 
@@ -295,7 +295,7 @@ void var_29_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(31);
 
@@ -306,7 +306,7 @@ void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(32);
 
@@ -315,7 +315,7 @@ void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_32_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(33);
 
@@ -324,7 +324,7 @@ void var_32_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_33_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(34);
 
@@ -333,7 +333,7 @@ void var_33_node(void *t1, size_t bytes_t1) {
 }
 
 void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(35);
 
@@ -342,7 +342,7 @@ void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(36);
 
@@ -353,7 +353,7 @@ void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_36_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(37);
 
@@ -362,7 +362,7 @@ void var_36_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_37_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(38);
 
@@ -371,7 +371,7 @@ void var_37_node(void *t1, size_t bytes_t1) {
 }
 
 void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(39);
 
@@ -380,7 +380,7 @@ void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_39_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(40);
 
@@ -391,7 +391,7 @@ void var_39_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(41);
 
@@ -400,7 +400,7 @@ void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_41_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(42);
 
@@ -409,7 +409,7 @@ void var_41_node(void *t1, size_t bytes_t1) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(43);
 
@@ -418,7 +418,7 @@ void var_42_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_43_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(44);
 
@@ -429,7 +429,7 @@ void var_43_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(45);
 
@@ -438,7 +438,7 @@ void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(46);
 
@@ -447,7 +447,7 @@ void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_46_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(47);
 
@@ -456,7 +456,7 @@ void var_46_node(void *t1, size_t bytes_t1) {
 }
 
 void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(48);
 
@@ -465,7 +465,7 @@ void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(49);
 
@@ -476,7 +476,7 @@ void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_49_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(50);
 
@@ -485,7 +485,7 @@ void var_49_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_50_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(51);
 
@@ -494,7 +494,7 @@ void var_50_node(void *t1, size_t bytes_t1) {
 }
 
 void var_51_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(52);
 
@@ -503,7 +503,7 @@ void var_51_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_52_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(53);
 
@@ -514,7 +514,7 @@ void var_52_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_53_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(54);
 
@@ -523,7 +523,7 @@ void var_53_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_54_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(55);
 
@@ -532,7 +532,7 @@ void var_54_node(void *t1, size_t bytes_t1) {
 }
 
 void var_55_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(56);
 
@@ -541,7 +541,7 @@ void var_55_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_56_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(57);
 
@@ -552,7 +552,7 @@ void var_56_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_57_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(58);
 
@@ -561,7 +561,7 @@ void var_57_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_58_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(59);
 
@@ -570,7 +570,7 @@ void var_58_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_59_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(60);
 
@@ -581,7 +581,7 @@ void var_59_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_60_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(61);
 
@@ -590,7 +590,7 @@ void var_60_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_61_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(62);
 
@@ -599,7 +599,7 @@ void var_61_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_62_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(63);
 
@@ -608,7 +608,7 @@ void var_62_node(void *t1, size_t bytes_t1) {
 }
 
 void var_63_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(64);
 
@@ -617,7 +617,7 @@ void var_63_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_64_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(65);
 
@@ -628,7 +628,7 @@ void var_64_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_65_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(66);
 
@@ -637,7 +637,7 @@ void var_65_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_66_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(67);
 
@@ -646,7 +646,7 @@ void var_66_node(void *t1, size_t bytes_t1) {
 }
 
 void var_67_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(68);
 
@@ -655,7 +655,7 @@ void var_67_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_68_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(69);
 
@@ -666,7 +666,7 @@ void var_68_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_69_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(70);
 
@@ -675,7 +675,7 @@ void var_69_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_70_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(71);
 
@@ -684,7 +684,7 @@ void var_70_node(void *t1, size_t bytes_t1) {
 }
 
 void var_71_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(72);
 
@@ -693,7 +693,7 @@ void var_71_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_72_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(73);
 
@@ -704,7 +704,7 @@ void var_72_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_73_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(74);
 
@@ -713,7 +713,7 @@ void var_73_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_74_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(75);
 
@@ -722,7 +722,7 @@ void var_74_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_75_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(76);
 
@@ -731,7 +731,7 @@ void var_75_node(void *t1, size_t bytes_t1) {
 }
 
 void var_76_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(77);
 
@@ -740,7 +740,7 @@ void var_76_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_77_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(78);
 
@@ -751,7 +751,7 @@ void var_77_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_78_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(79);
 
@@ -760,7 +760,7 @@ void var_78_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_79_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(80);
 
@@ -769,7 +769,7 @@ void var_79_node(void *t1, size_t bytes_t1) {
 }
 
 void var_80_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(81);
 
@@ -778,7 +778,7 @@ void var_80_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_81_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(82);
 
@@ -789,7 +789,7 @@ void var_81_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_82_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(83);
 
@@ -798,7 +798,7 @@ void var_82_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_83_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(84);
 
@@ -807,7 +807,7 @@ void var_83_node(void *t1, size_t bytes_t1) {
 }
 
 void var_84_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(85);
 
@@ -816,7 +816,7 @@ void var_84_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_85_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(86);
 
@@ -827,7 +827,7 @@ void var_85_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_86_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(87);
 
@@ -836,7 +836,7 @@ void var_86_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_87_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(88);
 
@@ -845,7 +845,7 @@ void var_87_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_88_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(89);
 
@@ -854,7 +854,7 @@ void var_88_node(void *t1, size_t bytes_t1) {
 }
 
 void var_89_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(90);
 
@@ -863,7 +863,7 @@ void var_89_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_90_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(91);
 
@@ -874,7 +874,7 @@ void var_90_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_91_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(92);
 
@@ -883,7 +883,7 @@ void var_91_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_92_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(93);
 
@@ -892,7 +892,7 @@ void var_92_node(void *t1, size_t bytes_t1) {
 }
 
 void var_93_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(94);
 
@@ -901,7 +901,7 @@ void var_93_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_94_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(95);
 
@@ -912,7 +912,7 @@ void var_94_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_95_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(96);
 
@@ -921,7 +921,7 @@ void var_95_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_96_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(97);
 
@@ -930,7 +930,7 @@ void var_96_node(void *t1, size_t bytes_t1) {
 }
 
 void var_97_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(98);
 
@@ -939,7 +939,7 @@ void var_97_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_98_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(99);
 
@@ -950,7 +950,7 @@ void var_98_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_99_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
                  size_t bytes_t3, void *t4, size_t bytes_t4, void *t5,
                  size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(100);
 
@@ -959,7 +959,7 @@ void var_99_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2, void *t3,
 }
 
 void var_100_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(101);
 
@@ -968,7 +968,7 @@ void var_100_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_101_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(102);
 
@@ -977,7 +977,7 @@ void var_101_node(void *t1, size_t bytes_t1) {
 }
 
 void var_102_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(103);
 
@@ -986,7 +986,7 @@ void var_102_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_103_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(104);
 
@@ -997,7 +997,7 @@ void var_103_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_104_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(105);
 
@@ -1006,7 +1006,7 @@ void var_104_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_105_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(106);
 
@@ -1015,7 +1015,7 @@ void var_105_node(void *t1, size_t bytes_t1) {
 }
 
 void var_106_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(107);
 
@@ -1024,7 +1024,7 @@ void var_106_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_107_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(108);
 
@@ -1035,7 +1035,7 @@ void var_107_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_108_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(109);
 
@@ -1044,7 +1044,7 @@ void var_108_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_109_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(110);
 
@@ -1053,7 +1053,7 @@ void var_109_node(void *t1, size_t bytes_t1) {
 }
 
 void var_110_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(111);
 
@@ -1062,7 +1062,7 @@ void var_110_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_111_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(112);
 
@@ -1073,7 +1073,7 @@ void var_111_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_112_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(113);
 
@@ -1082,7 +1082,7 @@ void var_112_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_113_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(114);
 
@@ -1091,7 +1091,7 @@ void var_113_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_114_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(115);
 
@@ -1102,7 +1102,7 @@ void var_114_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_115_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(116);
 
@@ -1111,7 +1111,7 @@ void var_115_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_116_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(117);
 
@@ -1120,7 +1120,7 @@ void var_116_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_117_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(118);
 
@@ -1129,7 +1129,7 @@ void var_117_node(void *t1, size_t bytes_t1) {
 }
 
 void var_118_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(119);
 
@@ -1138,7 +1138,7 @@ void var_118_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_119_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(120);
 
@@ -1149,7 +1149,7 @@ void var_119_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_120_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(121);
 
@@ -1158,7 +1158,7 @@ void var_120_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_121_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(122);
 
@@ -1167,7 +1167,7 @@ void var_121_node(void *t1, size_t bytes_t1) {
 }
 
 void var_122_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(123);
 
@@ -1176,7 +1176,7 @@ void var_122_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_123_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(124);
 
@@ -1187,7 +1187,7 @@ void var_123_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_124_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(125);
 
@@ -1196,7 +1196,7 @@ void var_124_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_125_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(126);
 
@@ -1205,7 +1205,7 @@ void var_125_node(void *t1, size_t bytes_t1) {
 }
 
 void var_126_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(127);
 
@@ -1214,7 +1214,7 @@ void var_126_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_127_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(128);
 
@@ -1225,7 +1225,7 @@ void var_127_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_128_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(129);
 
@@ -1234,7 +1234,7 @@ void var_128_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_129_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(130);
 
@@ -1243,7 +1243,7 @@ void var_129_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_130_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(131);
 
@@ -1252,7 +1252,7 @@ void var_130_node(void *t1, size_t bytes_t1) {
 }
 
 void var_131_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(132);
 
@@ -1261,7 +1261,7 @@ void var_131_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_132_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(133);
 
@@ -1272,7 +1272,7 @@ void var_132_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_133_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(134);
 
@@ -1281,7 +1281,7 @@ void var_133_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_134_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(135);
 
@@ -1290,7 +1290,7 @@ void var_134_node(void *t1, size_t bytes_t1) {
 }
 
 void var_135_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(136);
 
@@ -1299,7 +1299,7 @@ void var_135_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_136_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(137);
 
@@ -1310,7 +1310,7 @@ void var_136_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_137_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(138);
 
@@ -1319,7 +1319,7 @@ void var_137_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_138_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(139);
 
@@ -1328,7 +1328,7 @@ void var_138_node(void *t1, size_t bytes_t1) {
 }
 
 void var_139_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(140);
 
@@ -1337,7 +1337,7 @@ void var_139_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_140_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(141);
 
@@ -1348,7 +1348,7 @@ void var_140_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_141_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(142);
 
@@ -1357,7 +1357,7 @@ void var_141_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_142_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(143);
 
@@ -1366,7 +1366,7 @@ void var_142_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_143_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(144);
 
@@ -1375,7 +1375,7 @@ void var_143_node(void *t1, size_t bytes_t1) {
 }
 
 void var_144_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(145);
 
@@ -1384,7 +1384,7 @@ void var_144_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_145_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(146);
 
@@ -1395,7 +1395,7 @@ void var_145_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_146_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(147);
 
@@ -1404,7 +1404,7 @@ void var_146_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_147_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(148);
 
@@ -1413,7 +1413,7 @@ void var_147_node(void *t1, size_t bytes_t1) {
 }
 
 void var_148_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(149);
 
@@ -1422,7 +1422,7 @@ void var_148_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_149_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(150);
 
@@ -1433,7 +1433,7 @@ void var_149_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_150_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(151);
 
@@ -1442,7 +1442,7 @@ void var_150_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_151_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(152);
 
@@ -1451,7 +1451,7 @@ void var_151_node(void *t1, size_t bytes_t1) {
 }
 
 void var_152_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(153);
 
@@ -1460,7 +1460,7 @@ void var_152_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_153_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(154);
 
@@ -1471,7 +1471,7 @@ void var_153_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_154_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(155);
 
@@ -1480,7 +1480,7 @@ void var_154_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_155_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(156);
 
@@ -1489,7 +1489,7 @@ void var_155_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_156_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(157);
 
@@ -1498,7 +1498,7 @@ void var_156_node(void *t1, size_t bytes_t1) {
 }
 
 void var_157_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(158);
 
@@ -1507,7 +1507,7 @@ void var_157_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_158_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(159);
 
@@ -1518,7 +1518,7 @@ void var_158_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_159_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(160);
 
@@ -1527,7 +1527,7 @@ void var_159_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_160_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(161);
 
@@ -1536,7 +1536,7 @@ void var_160_node(void *t1, size_t bytes_t1) {
 }
 
 void var_161_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(162);
 
@@ -1545,7 +1545,7 @@ void var_161_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_162_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(163);
 
@@ -1556,7 +1556,7 @@ void var_162_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_163_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(164);
 
@@ -1565,7 +1565,7 @@ void var_163_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_164_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(165);
 
@@ -1574,7 +1574,7 @@ void var_164_node(void *t1, size_t bytes_t1) {
 }
 
 void var_165_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(166);
 
@@ -1583,7 +1583,7 @@ void var_165_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_166_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(167);
 
@@ -1594,7 +1594,7 @@ void var_166_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_167_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(168);
 
@@ -1603,7 +1603,7 @@ void var_167_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_168_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(169);
 
@@ -1612,7 +1612,7 @@ void var_168_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_169_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(170);
 
@@ -1621,7 +1621,7 @@ void var_169_node(void *t1, size_t bytes_t1) {
 }
 
 void var_170_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(171);
 
@@ -1630,7 +1630,7 @@ void var_170_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_171_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(172);
 
@@ -1641,7 +1641,7 @@ void var_171_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_172_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(173);
 
@@ -1650,7 +1650,7 @@ void var_172_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_173_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(174);
 
@@ -1659,7 +1659,7 @@ void var_173_node(void *t1, size_t bytes_t1) {
 }
 
 void var_174_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(175);
 
@@ -1668,7 +1668,7 @@ void var_174_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_175_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(176);
 
@@ -1679,7 +1679,7 @@ void var_175_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_176_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(177);
 
@@ -1688,7 +1688,7 @@ void var_176_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_177_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(178);
 
@@ -1697,7 +1697,7 @@ void var_177_node(void *t1, size_t bytes_t1) {
 }
 
 void var_178_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(179);
 
@@ -1706,7 +1706,7 @@ void var_178_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_179_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(180);
 
@@ -1717,7 +1717,7 @@ void var_179_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_180_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(181);
 
@@ -1726,7 +1726,7 @@ void var_180_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_181_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(182);
 
@@ -1735,7 +1735,7 @@ void var_181_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_182_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(183);
 
@@ -1744,7 +1744,7 @@ void var_182_node(void *t1, size_t bytes_t1) {
 }
 
 void var_183_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(184);
 
@@ -1753,7 +1753,7 @@ void var_183_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_184_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(185);
 
@@ -1764,7 +1764,7 @@ void var_184_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_185_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(186);
 
@@ -1773,7 +1773,7 @@ void var_185_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_186_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(187);
 
@@ -1782,7 +1782,7 @@ void var_186_node(void *t1, size_t bytes_t1) {
 }
 
 void var_187_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(188);
 
@@ -1791,7 +1791,7 @@ void var_187_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_188_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(189);
 
@@ -1802,7 +1802,7 @@ void var_188_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_189_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(190);
 
@@ -1811,7 +1811,7 @@ void var_189_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_190_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(191);
 
@@ -1820,7 +1820,7 @@ void var_190_node(void *t1, size_t bytes_t1) {
 }
 
 void var_191_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(192);
 
@@ -1829,7 +1829,7 @@ void var_191_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_192_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(193);
 
@@ -1840,7 +1840,7 @@ void var_192_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_193_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(194);
 
@@ -1849,7 +1849,7 @@ void var_193_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_194_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(195);
 
@@ -1858,7 +1858,7 @@ void var_194_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_195_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(196);
 
@@ -1869,7 +1869,7 @@ void var_195_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_196_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(197);
 
@@ -1878,7 +1878,7 @@ void var_196_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_197_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(198);
 
@@ -1887,7 +1887,7 @@ void var_197_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_198_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(199);
 
@@ -1896,7 +1896,7 @@ void var_198_node(void *t1, size_t bytes_t1) {
 }
 
 void var_199_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(200);
 
@@ -1905,7 +1905,7 @@ void var_199_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_200_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(201);
 
@@ -1916,7 +1916,7 @@ void var_200_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_201_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(202);
 
@@ -1925,7 +1925,7 @@ void var_201_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_202_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(203);
 
@@ -1934,7 +1934,7 @@ void var_202_node(void *t1, size_t bytes_t1) {
 }
 
 void var_203_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(204);
 
@@ -1943,7 +1943,7 @@ void var_203_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_204_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(205);
 
@@ -1954,7 +1954,7 @@ void var_204_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_205_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(206);
 
@@ -1963,7 +1963,7 @@ void var_205_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_206_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(207);
 
@@ -1972,7 +1972,7 @@ void var_206_node(void *t1, size_t bytes_t1) {
 }
 
 void var_207_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(208);
 
@@ -1981,7 +1981,7 @@ void var_207_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_208_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(209);
 
@@ -1992,7 +1992,7 @@ void var_208_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_209_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(210);
 
@@ -2001,7 +2001,7 @@ void var_209_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_210_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(211);
 
@@ -2010,7 +2010,7 @@ void var_210_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_211_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(212);
 
@@ -2019,7 +2019,7 @@ void var_211_node(void *t1, size_t bytes_t1) {
 }
 
 void var_212_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(213);
 
@@ -2028,7 +2028,7 @@ void var_212_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_213_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(214);
 
@@ -2039,7 +2039,7 @@ void var_213_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_214_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(215);
 
@@ -2048,7 +2048,7 @@ void var_214_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_215_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(216);
 
@@ -2057,7 +2057,7 @@ void var_215_node(void *t1, size_t bytes_t1) {
 }
 
 void var_216_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(217);
 
@@ -2066,7 +2066,7 @@ void var_216_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_217_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(218);
 
@@ -2077,7 +2077,7 @@ void var_217_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_218_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(219);
 
@@ -2086,7 +2086,7 @@ void var_218_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_219_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(220);
 
@@ -2095,7 +2095,7 @@ void var_219_node(void *t1, size_t bytes_t1) {
 }
 
 void var_220_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(221);
 
@@ -2104,7 +2104,7 @@ void var_220_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_221_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(222);
 
@@ -2115,7 +2115,7 @@ void var_221_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 void var_222_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
                   void *t3, size_t bytes_t3, void *t4, size_t bytes_t4,
                   void *t5, size_t bytes_t5) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(5, t1, t2, t3, t4, t5, 0);
   __hpvm__node_id(223);
 
@@ -2124,7 +2124,7 @@ void var_222_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2,
 }
 
 void var_223_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(224);
 
@@ -2133,7 +2133,7 @@ void var_223_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_224_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(225);
 
@@ -2142,7 +2142,7 @@ void var_224_node(void *t1, size_t bytes_t1) {
 }
 
 void var_225_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(226);
 
@@ -2151,7 +2151,7 @@ void var_225_node(void *t1, size_t bytes_t1) {
 }
 
 void var_226_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(227);
 
@@ -2160,7 +2160,7 @@ void var_226_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_227_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
   __hpvm__node_id(228);
 
@@ -2169,7 +2169,7 @@ void var_227_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_228_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
   __hpvm__node_id(229);
 
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar10/vgg16_cifar10_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar10/vgg16_cifar10_loop.cpp
index d35d209570..11b67b1e5c 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar10/vgg16_cifar10_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar10/vgg16_cifar10_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -171,7 +171,7 @@ void var_19_node(void *t1, size_t bytes_t1) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -179,7 +179,7 @@ void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -187,7 +187,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -195,7 +195,7 @@ void var_22_node(void *t1, size_t bytes_t1) {
 }
 
 void var_23_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -203,7 +203,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -211,7 +211,7 @@ void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -219,7 +219,7 @@ void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_26_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -227,7 +227,7 @@ void var_26_node(void *t1, size_t bytes_t1) {
 }
 
 void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -235,7 +235,7 @@ void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -243,7 +243,7 @@ void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_29_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -251,7 +251,7 @@ void var_29_node(void *t1, size_t bytes_t1) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -259,7 +259,7 @@ void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -267,7 +267,7 @@ void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_32_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -275,7 +275,7 @@ void var_32_node(void *t1, size_t bytes_t1) {
 }
 
 void var_33_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -283,7 +283,7 @@ void var_33_node(void *t1, size_t bytes_t1) {
 }
 
 void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -291,7 +291,7 @@ void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -299,7 +299,7 @@ void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_36_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -307,7 +307,7 @@ void var_36_node(void *t1, size_t bytes_t1) {
 }
 
 void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -315,7 +315,7 @@ void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -323,7 +323,7 @@ void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_39_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -331,7 +331,7 @@ void var_39_node(void *t1, size_t bytes_t1) {
 }
 
 void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -339,7 +339,7 @@ void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -347,7 +347,7 @@ void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -355,7 +355,7 @@ void var_42_node(void *t1, size_t bytes_t1) {
 }
 
 void var_43_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -363,7 +363,7 @@ void var_43_node(void *t1, size_t bytes_t1) {
 }
 
 void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -371,7 +371,7 @@ void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -379,7 +379,7 @@ void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_46_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -387,7 +387,7 @@ void var_46_node(void *t1, size_t bytes_t1) {
 }
 
 void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -395,7 +395,7 @@ void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar100/vgg16_cifar100_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar100/vgg16_cifar100_loop.cpp
index 1e38763e76..3f2175a7f4 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar100/vgg16_cifar100_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_cifar100/vgg16_cifar100_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -171,7 +171,7 @@ void var_19_node(void *t1, size_t bytes_t1) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -179,7 +179,7 @@ void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -187,7 +187,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -195,7 +195,7 @@ void var_22_node(void *t1, size_t bytes_t1) {
 }
 
 void var_23_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -203,7 +203,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -211,7 +211,7 @@ void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -219,7 +219,7 @@ void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_26_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -227,7 +227,7 @@ void var_26_node(void *t1, size_t bytes_t1) {
 }
 
 void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -235,7 +235,7 @@ void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -243,7 +243,7 @@ void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_29_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -251,7 +251,7 @@ void var_29_node(void *t1, size_t bytes_t1) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -259,7 +259,7 @@ void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -267,7 +267,7 @@ void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_32_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -275,7 +275,7 @@ void var_32_node(void *t1, size_t bytes_t1) {
 }
 
 void var_33_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -283,7 +283,7 @@ void var_33_node(void *t1, size_t bytes_t1) {
 }
 
 void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -291,7 +291,7 @@ void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -299,7 +299,7 @@ void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_36_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -307,7 +307,7 @@ void var_36_node(void *t1, size_t bytes_t1) {
 }
 
 void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -315,7 +315,7 @@ void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -323,7 +323,7 @@ void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_39_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -331,7 +331,7 @@ void var_39_node(void *t1, size_t bytes_t1) {
 }
 
 void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -339,7 +339,7 @@ void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -347,7 +347,7 @@ void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -355,7 +355,7 @@ void var_42_node(void *t1, size_t bytes_t1) {
 }
 
 void var_43_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -363,7 +363,7 @@ void var_43_node(void *t1, size_t bytes_t1) {
 }
 
 void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -371,7 +371,7 @@ void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -379,7 +379,7 @@ void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_46_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -387,7 +387,7 @@ void var_46_node(void *t1, size_t bytes_t1) {
 }
 
 void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -395,7 +395,7 @@ void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
diff --git a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_imagenet/vgg16_imagenet_loop.cpp b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_imagenet/vgg16_imagenet_loop.cpp
index e55cf3648d..18eb7a58db 100644
--- a/hpvm/test/dnn_benchmarks/benchmarks/vgg16_imagenet/vgg16_imagenet_loop.cpp
+++ b/hpvm/test/dnn_benchmarks/benchmarks/vgg16_imagenet/vgg16_imagenet_loop.cpp
@@ -11,7 +11,7 @@
 #include <config.h>
 
 void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -19,7 +19,7 @@ void var_0_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -27,7 +27,7 @@ void var_1_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_2_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -35,7 +35,7 @@ void var_2_node(void *t1, size_t bytes_t1) {
 }
 
 void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -43,7 +43,7 @@ void var_3_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -51,7 +51,7 @@ void var_4_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_5_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -59,7 +59,7 @@ void var_5_node(void *t1, size_t bytes_t1) {
 }
 
 void var_6_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -67,7 +67,7 @@ void var_6_node(void *t1, size_t bytes_t1) {
 }
 
 void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -75,7 +75,7 @@ void var_7_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -83,7 +83,7 @@ void var_8_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_9_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -91,7 +91,7 @@ void var_9_node(void *t1, size_t bytes_t1) {
 }
 
 void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -99,7 +99,7 @@ void var_10_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -107,7 +107,7 @@ void var_11_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_12_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -115,7 +115,7 @@ void var_12_node(void *t1, size_t bytes_t1) {
 }
 
 void var_13_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -123,7 +123,7 @@ void var_13_node(void *t1, size_t bytes_t1) {
 }
 
 void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -131,7 +131,7 @@ void var_14_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -139,7 +139,7 @@ void var_15_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_16_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -147,7 +147,7 @@ void var_16_node(void *t1, size_t bytes_t1) {
 }
 
 void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -155,7 +155,7 @@ void var_17_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -163,7 +163,7 @@ void var_18_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_19_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -171,7 +171,7 @@ void var_19_node(void *t1, size_t bytes_t1) {
 }
 
 void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -179,7 +179,7 @@ void var_20_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -187,7 +187,7 @@ void var_21_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_22_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -195,7 +195,7 @@ void var_22_node(void *t1, size_t bytes_t1) {
 }
 
 void var_23_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -203,7 +203,7 @@ void var_23_node(void *t1, size_t bytes_t1) {
 }
 
 void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -211,7 +211,7 @@ void var_24_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -219,7 +219,7 @@ void var_25_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_26_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -227,7 +227,7 @@ void var_26_node(void *t1, size_t bytes_t1) {
 }
 
 void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -235,7 +235,7 @@ void var_27_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -243,7 +243,7 @@ void var_28_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_29_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -251,7 +251,7 @@ void var_29_node(void *t1, size_t bytes_t1) {
 }
 
 void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -259,7 +259,7 @@ void var_30_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -267,7 +267,7 @@ void var_31_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_32_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -275,7 +275,7 @@ void var_32_node(void *t1, size_t bytes_t1) {
 }
 
 void var_33_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -283,7 +283,7 @@ void var_33_node(void *t1, size_t bytes_t1) {
 }
 
 void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -291,7 +291,7 @@ void var_34_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -299,7 +299,7 @@ void var_35_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_36_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -307,7 +307,7 @@ void var_36_node(void *t1, size_t bytes_t1) {
 }
 
 void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -315,7 +315,7 @@ void var_37_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -323,7 +323,7 @@ void var_38_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_39_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -331,7 +331,7 @@ void var_39_node(void *t1, size_t bytes_t1) {
 }
 
 void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_convolution(t1, t2, 1, 1, 1, 1);
@@ -339,7 +339,7 @@ void var_40_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -347,7 +347,7 @@ void var_41_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_42_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -355,7 +355,7 @@ void var_42_node(void *t1, size_t bytes_t1) {
 }
 
 void var_43_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2);
@@ -363,7 +363,7 @@ void var_43_node(void *t1, size_t bytes_t1) {
 }
 
 void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -371,7 +371,7 @@ void var_44_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -379,7 +379,7 @@ void var_45_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_46_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -387,7 +387,7 @@ void var_46_node(void *t1, size_t bytes_t1) {
 }
 
 void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -395,7 +395,7 @@ void var_47_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
@@ -403,7 +403,7 @@ void var_48_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_49_node(void *t1, size_t bytes_t1) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(1, t1, 0);
 
   void *r = __hpvm__tensor_relu(t1);
@@ -411,7 +411,7 @@ void var_49_node(void *t1, size_t bytes_t1) {
 }
 
 void var_50_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_mul(t1, t2);
@@ -419,7 +419,7 @@ void var_50_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
 }
 
 void var_51_node(void *t1, size_t bytes_t1, void *t2, size_t bytes_t2) {
-  __hpvm__hint(hpvm::PROMISE_TARGET);
+  __hpvm__hint(hpvm::TENSOR_TARGET);
   __hpvm__attributes(2, t1, t2, 0);
 
   void *r = __hpvm__tensor_add(t1, t2);
-- 
GitLab