store_par_knowledge — Store knowledge about automatic parallelization in file.
store_par_knowledge is obsolete and is only provided for reasons of backward compatibility. New applications should use the operator write_aop_knowledge to store optimization data for the automatic operator parallelization instead.
store_par_knowledge( : : FileName : )
store_par_knowledge supports the automatic parallelization of HALCON operators, which is used to better utilize multiprocessor hardware in order to speed up the processing of operators. To parallelize the processing of operators automatically HALCON needs some specific knowledge about the used hardware. This hardware-specific knowledge can be obtained by calling the operator check_par_hw_potential. There, HALCON stores the knowledge in a specific file in the HALCON installation directory (Linux/Mac OS X) or within the “registry” (Windows). This enables HALCON to use the knowledge again later on. With store_par_knowledge it is possible to store this knowledge explicitly as an ASCII file. At this, FileName denotes the name of this file (incl. path and file extension). The stored knowledge can be read again later on by using load_par_knowledge.
Name of parallelization knowledge file.
Default value: ''
store_par_knowledge returns 2 (H_MSG_TRUE) if all parameters are correct.