aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CL/cl_kernels/helpers.h1
-rw-r--r--src/core/GPUTarget.cpp7
2 files changed, 7 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/helpers.h b/src/core/CL/cl_kernels/helpers.h
index 4018c40b16..298edc244f 100644
--- a/src/core/CL/cl_kernels/helpers.h
+++ b/src/core/CL/cl_kernels/helpers.h
@@ -44,6 +44,7 @@
#define GPU_ARCH_MIDGARD 0x100
#define GPU_ARCH_BIFROST 0x200
+#define GPU_ARCH_VALHALL 0x300
/** Concatenate two inputs.
*
diff --git a/src/core/GPUTarget.cpp b/src/core/GPUTarget.cpp
index 625c0145df..5984c88099 100644
--- a/src/core/GPUTarget.cpp
+++ b/src/core/GPUTarget.cpp
@@ -43,6 +43,10 @@ arm_compute::GPUTarget get_valhall_target(const std::string &version)
{
return arm_compute::GPUTarget::G710;
}
+ else if(version.find("G57") != std::string::npos)
+ {
+ return arm_compute::GPUTarget::G57;
+ }
else
{
return arm_compute::GPUTarget::UNKNOWN;
@@ -136,7 +140,8 @@ const std::string &string_from_target(GPUTarget target)
{ GPUTarget::G76, "g76" },
{ GPUTarget::G77, "g77" },
{ GPUTarget::G78, "g78" },
- { GPUTarget::G710, "g710" }
+ { GPUTarget::G710, "g710" },
+ { GPUTarget::G57, "g57" }
};
return gpu_target_map[target];