Searched refs:thread_num (Results 1 - 6 of 6) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/ |
H A D | 2-1.c | 45 int thread_num = *(int *)arg; in fn_chld() local 47 printf("child[%d]: barrier wait\n", thread_num); in fn_chld() 52 "return code : %d\n", thread_num, rc); in fn_chld() 57 thread_num); in fn_chld()
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_native_layer_conv2d.c | 191 int thread_num = (ctx->options.conv2d_threads <= 0 || ctx->options.conv2d_threads > av_cpu_count()) in ff_dnn_execute_layer_conv2d() local 230 thread_param = av_malloc_array(thread_num, sizeof(*thread_param)); in ff_dnn_execute_layer_conv2d() 233 thread_stride = (height - pad_size * 2) / thread_num; in ff_dnn_execute_layer_conv2d() 235 for (int i = 0; i < thread_num; i++){ in ff_dnn_execute_layer_conv2d() 239 thread_param[i].thread_end = (i == thread_num - 1) ? (height - pad_size) : (thread_param[i].thread_start + thread_stride); in ff_dnn_execute_layer_conv2d() 243 thread_num = i; in ff_dnn_execute_layer_conv2d() 249 for (int i = 0; i < thread_num; i++){ in ff_dnn_execute_layer_conv2d()
|
/third_party/googletest/googletest/src/hwext/ |
H A D | gtest-multithread.cpp | 59 unsigned MultiThreadTest::runTask(unsigned thread_num, PF func, std::string testsuite, std::string testcase) in runTask() argument 63 if (thread_num == 0){ in runTask() 67 for(; i < thread_num; i++){ in runTask()
|
/third_party/mindspore/test/unittest/ |
H A D | mindspore_unit_test.cpp | 74 auto thread_num = OH_AI_ContextGetThreadNum(context); in HWTEST() local 75 printf("==========thread_num: %d\n", thread_num); in HWTEST() 76 ASSERT_EQ(thread_num, 2); in HWTEST() 89 auto thread_num = OH_AI_ContextGetThreadNum(context); in HWTEST() local 90 printf("==========thread_num: %d\n", thread_num); in HWTEST() 91 ASSERT_EQ(thread_num, 4); in HWTEST() 109 auto thread_num = OH_AI_ContextGetThreadNum(context); in HWTEST() local 110 printf("==========thread_num in HWTEST() 136 auto thread_num = OH_AI_ContextGetThreadNum(context); HWTEST() local [all...] |
/third_party/googletest/googletest/include/gtest/hwext/ |
H A D | gtest-multithread.h | 55 uint runTask(unsigned thread_num, PF func, std::string testsuite, std::string testcase);
|
/third_party/mindspore/interfaces/kits/c/ |
H A D | context.h | 68 * @param thread_num the number of threads at runtime. 71 OH_AI_API void OH_AI_ContextSetThreadNum(OH_AI_ContextHandle context, int32_t thread_num);
|
Completed in 4 milliseconds