On MTK platforms, tflite calls the GPU with clGetPlatformIDs return -1001
Hi @Ijustakid !

Sorry for the late response.

'clGetPlatformIDs returned -1001'  indicates that you have not included opencl header files properly or Gpu drivers have not configured properly. [Ref](https://stackoverflow.com/a/24336429/11530462).

If you are trying to use GPU acceleration through Google play service, [Recommended practice](https://www.tensorflow.org/lite/android/play_services#gpu_with_interpreter_apis) for using interpreter is to update the dependencies and then enable GPU delegate. The GPU delegate option can then be set by calling `addDelegateFactory()`.

Please refer to this [document](https://www.tensorflow.org/lite/android/play_services#gpu_with_interpreter_apis), to understand using interpreter with GPU delegate for Google Play Services.

But if you are trying to use C++ runtime to use GPU delegate , Please refer this [document](https://www.tensorflow.org/lite/android/delegates/gpu#cc_api_for_android) to properly include and add the gpu delegate header files.

Thank you!
 This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you.
 Closing as stale. Please reopen if you'd like to work on this further.
 Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59519">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59519">No</a>

**System information**
- Android Device information (use `adb shell getprop ro.build.fingerprint`
  if possible): Redmi/rembrandt/rembrandt:13/TP1A.220624.014/23.1.31:user/release-keys

- TensorFlow Lite in Play Services SDK version (found in `build.gradle`): 29
- Google Play Services version
  (`Settings` > `Apps` > `Google Play Services` > `App details`): 

**Standalone code to reproduce the issue**

on MTK platforms
code:
if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) {
            LOGE("delegate init failed!");
            exit(-1);
        }

get:
clGetPlatformIDs returned -1001 or clGetPlatformIDs returned -30


**Any other info / logs**
This MTK platform has a GPU device.

