aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/experimental/ClWorkload.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/experimental/ClWorkload.h')
-rw-r--r--arm_compute/core/experimental/ClWorkload.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arm_compute/core/experimental/ClWorkload.h b/arm_compute/core/experimental/ClWorkload.h
index bcac08b9f7..9b2040a046 100644
--- a/arm_compute/core/experimental/ClWorkload.h
+++ b/arm_compute/core/experimental/ClWorkload.h
@@ -21,9 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#ifndef ENABLE_EXPERIMENTAL_DYNAMIC_FUSION
-#error "This experimental feature must be enabled with -DENABLE_EXPERIMENTAL_DYNAMIC_FUSION"
-#endif /* ENABLE_EXPERIMENTAL_DYNAMIC_FUSION */
+#ifdef ENABLE_EXPERIMENTAL_DYNAMIC_FUSION
#ifndef ARM_COMPUTE_EXPERIMENTAL_DYNAMICFUSION_CLWORKLOAD_H
#define ARM_COMPUTE_EXPERIMENTAL_DYNAMICFUSION_CLWORKLOAD_H
@@ -217,4 +215,5 @@ Status build(ClWorkload &workload, const OperatorGraph &op_graph, const ClWorklo
} // namespace experimental
} // namespace arm_compute
-#endif //ARM_COMPUTE_EXPERIMENTAL_DYNAMICFUSION_CLWORKLOAD_H \ No newline at end of file
+#endif //ARM_COMPUTE_EXPERIMENTAL_DYNAMICFUSION_CLWORKLOAD_H
+#endif /* ENABLE_EXPERIMENTAL_DYNAMIC_FUSION */ \ No newline at end of file