mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
model_init: remove memset (#19921)
old-commit-hash: ccf055fd6267bd6bfa0189d2f61d39574548fa80
This commit is contained in:
@@ -54,7 +54,6 @@ void model_init(ModelState* s, cl_device_id device_id, cl_context context) {
|
||||
|
||||
constexpr int output_size = OUTPUT_SIZE + TEMPORAL_SIZE;
|
||||
s->output = std::make_unique<float[]>(output_size);
|
||||
memset(&s->output[0], 0, output_size*sizeof(float));
|
||||
|
||||
#if defined(QCOM) || defined(QCOM2)
|
||||
s->m = std::make_unique<ThneedModel>("../../models/supercombo.thneed", &s->output[0], output_size, USE_GPU_RUNTIME);
|
||||
|
||||
Reference in New Issue
Block a user