Avoid redefinition of CAST_CL and CAST_NE that generates warning.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
*/
bool isGpuMode();
-#define CAST_CL(tensor) static_cast<arm_compute::CLTensor *>(tensor)
-#define CAST_NE(tensor) static_cast<arm_compute::Tensor *>(tensor)
+#ifndef CAST_CL
+#define CAST_CL(tensor) static_cast<::arm_compute::CLTensor *>(tensor)
+#endif
+
+#ifndef CAST_NE
+#define CAST_NE(tensor) static_cast<::arm_compute::Tensor *>(tensor)
+#endif
/**
* @brief Class to represent arm compute axis