twzhyyxwhez31057 opened a new issue, #15732:
URL: https://github.com/apache/tvm/issues/15732
Hi, I tried to auto-tuning a IRModule using meta-schedule, however I met
this error:
"TVMError: Unsupported target: opencl -keys=opencl,gpu
-max_function_args=128 -max_num_threads=256 -max_shared_memory_per_block=16384
-max_threads_per_block=256 -texture_spatial_limit=16384 -thread_warp_size=1"
Can't meta-schedule use opencl?
### Expected behavior
tuning on android-Adreno
### Actual behavior
File "tvm/_ffi/_cython/./base.pxi", line 181, in
tvm._ffi._cy3.core.CHECK_CALL
tvm._ffi.base.TVMError: Traceback (most recent call last):
File
"/Users/catalyst/Workspace/mlc-ai-package-self-runner/_work/package/package/tvm/src/meta_schedule/space_generator/space_generator.cc",
line 82
TVMError: Unsupported target: opencl -keys=opencl,gpu -max_function_args=128
-max_num_threads=256 -max_shared_memory_per_block=16384
-max_threads_per_block=256 -texture_spatial_limit=16384 -thread_warp_size=1
### Environment
MAC
### Steps to reproduce
arch = "arm64"
host_target = "llvm -mtriple=%s-linux-android" % arch
target = tvm.target.Target("opencl", host=host_target)
database = ms.tune_tir(
mod=mod_static[function],
target=target,
max_trials_global=10,
num_trials_per_iter=1,
work_dir=log_file,
runner=ms.runner.RPCRunner(
rpc_config=ms.runner.RPCConfig(
tracker_host=TRACKER_HOST,
tracker_port=TRACKER_PORT,
tracker_key=TRACKER_KEY,
)
)
)
### Triage
Please refer to the list of label tags
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the
relevant tags and add them below in a bullet format (example below).
* needs-triage
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]