{"id":3329,"date":"2024-12-23T09:00:00","date_gmt":"2024-12-23T00:00:00","guid":{"rendered":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/?p=3329"},"modified":"2024-12-19T07:48:57","modified_gmt":"2024-12-18T22:48:57","slug":"easy-guide-to-multithreading-in-python","status":"publish","type":"post","link":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/2024\/12\/23\/easy-guide-to-multithreading-in-python\/","title":{"rendered":"Python \u306e\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u5165\u9580\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30a4\u30f3\u30c6\u30eb\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u300c<a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/articles\/technical\/easy-guide-to-multithreading-in-python.html\" target=\"_blank\" rel=\"noopener\">Needle and Thread \u2013 An Easy Guide to Multithreading in Python*<\/a>\u300d\u306e\u65e5\u672c\u8a9e\u53c2\u8003\u8a33\u3067\u3059\u3002\u539f\u6587\u306f\u66f4\u65b0\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u539f\u6587\u3068\u7ffb\u8a33\u6587\u306e\u5185\u5bb9\u304c\u7570\u306a\u308b\u5834\u5408\u306f\u539f\u6587\u3092\u512a\u5148\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:18px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<h2>Python \u30b9\u30ec\u30c3\u30c9\u5316\u306e\u30b8\u30ec\u30f3\u30de\u3092\u89e3\u6d88\u3059\u308b<\/h2>\n<p>Python \u306f\u3001\u7279\u306b AI \u3084\u30de\u30b7\u30f3\u30e9\u30fc\u30cb\u30f3\u30b0 (ML) \u306e\u958b\u767a\u306b\u304a\u3044\u3066\u5f37\u529b\u306a\u8a00\u8a9e\u3067\u3059\u3002\u3057\u304b\u3057\u3001CPython (\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u5b9f\u88c5\u304a\u3088\u3073\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u30fb\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc) \u306f\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u6a5f\u80fd\u3068\u4e26\u5217\u51e6\u7406\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001\u5185\u90e8\u3067\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u5fc5\u8981\u3067\u3059\u3002NumPy\u3001SciPy\u3001PyTorch \u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306f\u3001C \u30d9\u30fc\u30b9\u306e\u5b9f\u88c5\u3092\u5229\u7528\u3057\u3066\u3001\u5fc5\u8981\u306a\u30de\u30eb\u30c1\u30b3\u30a2\u51e6\u7406\u306e\u4e00\u90e8\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u60aa\u540d\u9ad8\u3044 Global Interpreter Lock (GIL) \u306f\u3001CPython \u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u3092\u3001\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u74b0\u5883\u304b\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u74b0\u5883\u304b\u306b\u95a2\u4fc2\u306a\u304f\u3001\u4e00\u5ea6\u306b 1 \u3064\u306e\u30b9\u30ec\u30c3\u30c9\u3067\u306e\u307f\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306b\u300c\u30ed\u30c3\u30af\u300d\u3057\u307e\u3059\u3002<\/p>\n<p class=\"note\"><strong>\u8981\u70b9:<\/strong> Python \u306f\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u30fb\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3084\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30b9\u304c\u5fc5\u9808\u307e\u305f\u306f\u512a\u5148\u3055\u308c\u308b\u72b6\u6cc1\u306b\u306f\u9069\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u5225\u306e\u8996\u70b9\u304b\u3089 Python \u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Vanilla Python \u3092 1 \u672c\u306e\u91dd\u3001GIL \u3092 1 \u672c\u306e\u7cf8\u3068\u3057\u3066\u60f3\u50cf\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u91dd\u3068\u7cf8\u3067\u30b7\u30e3\u30c4\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u51fa\u6765\u4e0a\u304c\u3063\u305f\u30b7\u30e3\u30c4\u306f\u7d20\u6674\u3089\u3057\u3044\u54c1\u8cea\u3067\u3059\u304c\u3001\u540c\u3058\u54c1\u8cea\u3092\u7dad\u6301\u3057\u306a\u304c\u3089\u3001\u3088\u308a\u52b9\u7387\u826f\u304f\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/oneapi\/index.html\">oneAPI<\/a> \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fb\u30e2\u30c7\u30eb\u3084 Numba \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306a\u3069\u3092\u4f7f\u7528\u3057\u3066 Python \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4e26\u5217\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u8ab2\u984c\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u30021 \u672c\u306e\u91dd\u3068 1 \u672c\u306e\u7cf8\u306e\u4ee3\u308f\u308a\u306b\u30df\u30b7\u30f3\u3092\u4f7f\u7528\u3057\u30011 \u53f0\u3067\u306f\u306a\u304f\u3001\u6570\u5341\u53f0\u307e\u305f\u306f\u6570\u767e\u53f0\u306e\u30df\u30b7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001\u8a18\u9332\u7684\u306a\u901f\u3055\u3067\u591a\u6570\u306e\u30b7\u30e3\u30c4\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u3001\u30a4\u30f3\u30c6\u30eb\u00ae \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u306e\u547d\u4ee4\u30bb\u30c3\u30c8\u3092\u6700\u9069\u5316\u3059\u308b\u9ad8\u6027\u80fd\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30bb\u30c3\u30c8\u3067\u3042\u308b\u3001<a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/python\/index.html\">\u30a4\u30f3\u30c6\u30eb\u00ae \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e Python<\/a> \u306e\u5f37\u529b\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3068\u30c4\u30fc\u30eb\u306e\u76ee\u6a19\u3067\u3059\u3002<\/p>\n<p>Python \u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u4f4e\u304f\u6291\u3048\u3001\u6570\u5b66\u304a\u3088\u3073\u30b9\u30ec\u30c3\u30c9\u51e6\u7406\u306b oneAPI \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3092\u4f7f\u7528\u3057\u3066\u9ad8\u901f\u5316\u3057\u3001NumPy\u3001SciPy\u3001Numba \u306a\u3069\u306e\u8a08\u7b97\u8ca0\u8377\u306e\u9ad8\u3044 Python \u6570\u5024\u6f14\u7b97\u304a\u3088\u3073\u79d1\u5b66\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3001C++ \u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u8fd1\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30fb\u30ec\u30d9\u30eb\u3092\u9054\u6210\u3067\u304d\u308b\u3088\u3046\u958b\u767a\u8005\u3092\u652f\u63f4\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u958b\u767a\u8005\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u3001\u30d9\u30af\u30c8\u30eb\u5316\u3001\u30e1\u30e2\u30ea\u30fc\u7ba1\u7406\u3092\u52b9\u7387\u826f\u304f\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u3001\u540c\u6642\u306b\u30af\u30e9\u30b9\u30bf\u30fc\u5168\u4f53\u3067\u52b9\u679c\u7684\u306a\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u9054\u6210\u3067\u304d\u307e\u3059\u3002<sup>1<\/sup><\/p>\n<p>Python \u306e\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u3068\u4e26\u5217\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u30a4\u30f3\u30c6\u30eb\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u3001\u305d\u308c\u304c AI\/ML \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u9ad8\u901f\u5316\u306b\u3069\u306e\u3088\u3046\u306b\u5f79\u7acb\u3064\u304b\u306b\u3064\u3044\u3066\u3001\u3055\u3089\u306b\u6df1\u304f\u6398\u308a\u4e0b\u3052\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5165\u308c\u5b50\u306e\u4e26\u5217\u51e6\u7406: NumPy \u3068 SciPy<\/h3>\n<p>NumPy \u3068 SciPy \u306f\u3001\u305d\u308c\u305e\u308c\u6570\u5024\u51e6\u7406\u3068\u79d1\u5b66\u8a08\u7b97\u5411\u3051\u306b\u8a2d\u8a08\u3055\u308c\u305f Python \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3059\u3002<\/p>\n<p>Python \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\/\u4e26\u5217\u5316\u3059\u308b 1 \u3064\u306e\u65b9\u6cd5\u306f\u3001\u6700\u3082\u5916\u5074\u306e\u30eb\u30fc\u30d7\u3092\u4e26\u5217\u5316\u3057\u305f\u308a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30ec\u30d9\u30eb\u3067\u95a2\u6570\u3084\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u4e26\u5217\u5316\u3057\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u53ef\u80fd\u306a\u3059\u3079\u3066\u306e\u30ec\u30d9\u30eb\u3067\u4e26\u5217\u51e6\u7406\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002Dask\u3001Joblib\u3001\u7d44\u8fbc\u307f\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30b7\u30f3\u30b0\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb <em>mproc<\/em> (ThreadPool \u30af\u30e9\u30b9\u3092\u542b\u3080) \u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306f\u3001\u3053\u306e\u4e26\u5217\u5316\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>AI \u304a\u3088\u3073 ML \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u3001NumPy \u3084 SciPy \u306a\u3069\u306e Python \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001<a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/perflib\/mkl\/index.html\">\u30a4\u30f3\u30c6\u30eb\u00ae oneAPI \u30de\u30b9\u30fb\u30ab\u30fc\u30cd\u30eb\u30fb\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc (\u30a4\u30f3\u30c6\u30eb\u00ae oneMKL)<\/a> \u306a\u3069\u306e\u6700\u9069\u5316\u3055\u308c\u305f\u6570\u5b66\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306b\u3088\u308a\u9ad8\u901f\u5316\u3067\u304d\u307e\u3059\u3002\u30a4\u30f3\u30c6\u30eb\u00ae oneMKL \u306f\u3001\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u30fb\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u7528\u3057\u3066\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u306f\u3001\u74b0\u5883\u5909\u6570 (MKL_THREADING_LAYER) \u3092\u4ecb\u3057\u3066\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<sup>2<\/sup><\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u30011 \u3064\u306e\u4e26\u5217\u9818\u57df\u304c\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3001\u305d\u306e\u4e2d\u306b\u3055\u3089\u306b\u5225\u306e\u4e26\u5217\u9818\u57df\u304c\u3042\u308b\u3068\u3044\u3046\u30b3\u30fc\u30c9\u69cb\u9020 (\u5165\u308c\u5b50\u306e\u4e26\u5217\u51e6\u7406) \u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002\u3053\u306e\u4e26\u5217\u51e6\u7406\u5185\u306e\u4e26\u5217\u51e6\u7406\u306f\u3001NumPy \u304a\u3088\u3073 SciPy \u30d9\u30fc\u30b9\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u901a\u5e38\u907f\u3051\u3089\u308c\u306a\u3044\u540c\u671f\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3068\u30b7\u30ea\u30a2\u30eb\u9818\u57df (\u3064\u307e\u308a\u3001\u4e26\u5217\u5b9f\u884c\u3067\u304d\u306a\u3044\u9818\u57df) \u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u3001\u307e\u305f\u306f\u96a0\u853d\u3059\u308b\u52b9\u7387\u7684\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h3>\u3055\u3089\u306b\u5148\u3078: Numba<\/h3>\n<p>NumPy \u3068 SciPy \u306f\u6570\u5b66\u3068\u30c7\u30fc\u30bf\u306b\u7279\u5316\u3057\u305f\u3055\u307e\u3056\u307e\u306a\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u307e\u3059\u304c\u3001\u305d\u308c\u3089\u306f C \u62e1\u5f35\u6a5f\u80fd\u306b\u3088\u308a\u9ad8\u901f\u5316\u3055\u308c\u305f\u6570\u5b66\u51e6\u7406\u306e<b>\u56fa\u5b9a<\/b>\u30bb\u30c3\u30c8\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u958b\u767a\u8005\u306f\u975e\u6a19\u6e96\u306e\u6570\u5b66\u51e6\u7406\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u3057\u3066\u3001C \u62e1\u5f35\u3068\u540c\u7b49\u306e\u901f\u5ea6\u3092\u671f\u5f85\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u5834\u5408\u3001Numba \u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Numba \u306f\u3001LLVM \u30d9\u30fc\u30b9\u306e\u300c\u30b8\u30e3\u30b9\u30c8\u30fb\u30a4\u30f3\u30fb\u30bf\u30a4\u30e0\u300d (JIT) \u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001Python \u3068 C\/C++ \u306e\u3088\u3046\u306a\u9759\u7684\u306b\u578b\u4ed8\u3051\u3055\u308c\u305f\u30b3\u30f3\u30d1\u30a4\u30eb\u8a00\u8a9e\u3068\u306e\u9593\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30fb\u30ae\u30e3\u30c3\u30d7\u3092\u57cb\u3081\u307e\u3059\u3002\u307e\u305f\u3001<a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/perflib\/tbb\/index.html\">\u30a4\u30f3\u30c6\u30eb\u00ae oneAPI \u30b9\u30ec\u30c3\u30c7\u30a3\u30f3\u30b0\u30fb\u30d3\u30eb\u30c7\u30a3\u30f3\u30b0\u30fb\u30d6\u30ed\u30c3\u30af (\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB)<\/a>\u3001OpenMP\u3001workqueue \u306a\u3069\u3001\u8907\u6570\u306e\u30b9\u30ec\u30c3\u30c9\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e 3 \u3064\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u306b\u5bfe\u5fdc\u3059\u308b 3 \u3064\u306e\u7d44\u8fbc\u307f\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5b58\u5728\u3059\u308b\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u306f workqueue \u306e\u307f\u3067\u3059\u304c\u3001\u307b\u304b\u306e\u30ec\u30a4\u30e4\u30fc\u306f conda \u30b3\u30de\u30f3\u30c9 (\u4f8b: $ conda install tbb) \u3092\u4f7f\u7528\u3057\u3066\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u306f\u3001\u74b0\u5883\u5909\u6570 NUMBA_THREADING_LAYER \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u306f\u6b21\u306e\u3044\u305a\u308c\u304b\u306e\u65b9\u6cd5\u3067\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059: (1) \u3055\u307e\u3056\u307e\u306a\u4e26\u5217\u5b9f\u884c\u5f62\u5f0f\u3067\u4e00\u822c\u7684\u306b\u5b89\u5168\u306a\u30ec\u30a4\u30e4\u30fc\u3092\u9078\u629e\u3059\u308b\u3001\u307e\u305f\u306f (2) \u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u540d (\u4f8b: tbb) \u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u3002Numba \u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/numba.readthedocs.io\/en\/stable\/user\/threading-layer.html\" target=\"_blank\" rel=\"noopener\">Numba \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a> (\u82f1\u8a9e) \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc<\/h3>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u307e\u305f\u306f\u305d\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc (\u69cb\u6210\u53ef\u80fd\u6027) \u306f\u3001\u5171\u5b58\u3059\u308b\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u6709\u52b9\u6027\u3084\u52b9\u7387\u6027\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u300c\u5b8c\u5168\u306b\u69cb\u6210\u53ef\u80fd\u306a\u300d\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001\u305d\u308c\u81ea\u4f53\u306e\u52b9\u7387\u6027\u307e\u305f\u306f\u30b7\u30b9\u30c6\u30e0\u5185\u306e\u4ed6\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u52b9\u7387\u6027\u3092\u640d\u306a\u3046\u3053\u3068\u306a\u304f\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b8c\u5168\u306b\u69cb\u6210\u53ef\u80fd\u306a\u30b9\u30ec\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u3092\u76ee\u6307\u3059\u306b\u306f\u3001<b>\u904e\u5270\u306a<\/b>\u6570\u306e\u30b9\u30ec\u30c3\u30c9 (\u30aa\u30fc\u30d0\u30fc\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3) \u3092\u751f\u6210\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u5b9f\u884c\u306b\u7279\u5b9a\u306e\u6570\u306e\u30b9\u30ec\u30c3\u30c9\u3092\u5fc5\u8981\u3068\u3059\u308b\u300c\u5fc5\u9808\u300d\u4e26\u5217\u51e6\u7406\u3092\u3001\u3069\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u307e\u305f\u306f\u30b3\u30fc\u30c9\u306e\u4e26\u5217\u9818\u57df\u3082<b>\u5fc5\u8981\u3068\u3057\u306a\u3044<\/b>\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee3\u66ff\u6848\u306f\u3001\u30ef\u30fc\u30af\u30fb\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u304c\u81ea\u52d5\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u4e26\u5217\u9818\u57df\u306e\u30bf\u30b9\u30af\u3092\u8abf\u6574\u3057\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30de\u30c3\u30d7\u3055\u308c\u308b\u30b9\u30ec\u30c3\u30c9\u3092\u30e6\u30fc\u30b6\u30fc\u30ec\u30d9\u30eb\u3067\u6307\u793a\u3059\u308b\u300c\u30aa\u30d7\u30b7\u30e7\u30f3\u300d\u4e26\u5217\u51e6\u7406\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u306f\u3001\u5358\u4e00\u306e\u5171\u6709\u30b9\u30ec\u30c3\u30c9\u30d7\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3092\u914d\u7f6e\u3059\u308b\u305f\u3081\u3001\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u306e\u30b9\u30ec\u30c3\u30c9\u30e2\u30c7\u30eb\u306e\u52b9\u7387\u306f\u3001\u30cf\u30a4\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30fb\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u7d44\u8fbc\u307f\u30b9\u30ad\u30fc\u30e0\u3092\u4e0a\u56de\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u3001\u52b9\u7387\u306b\u3088\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u5f97\u3089\u308c\u307e\u305b\u3093\u3002<\/p>\n<h2>\u30a4\u30f3\u30c6\u30eb\u306e\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u3068\u4e26\u5217\u51e6\u7406\u3078\u306e\u30a2\u30d7\u30ed\u30fc\u30c1<\/h2>\n<p><a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/perflib\/tbb\/index.html\">\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB<\/a> \u3092\u30ef\u30fc\u30af\u30fb\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u3092\u5bb9\u6613\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB \u306f\u3001\u30de\u30eb\u30c1\u30b3\u30a2\u4e26\u5217\u51e6\u7406\u3092\u53ef\u80fd\u306b\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0 C++ \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3042\u308a\u3001\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u5165\u308c\u5b50\u306e\u4e26\u5217\u51e6\u7406\u3092\u8003\u616e\u3057\u3066\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306e\u57f7\u7b46\u6642\u70b9\u3067\u6700\u65b0\u306e\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB \u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001\u8907\u6570\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u9593\u3067\u30b9\u30ec\u30c3\u30c9\u30fb\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u3092\u6709\u52b9\u306b\u3057\u3066 Python \u306e\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u30fb\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3059\u308b\u5b9f\u9a13\u7684\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u9ad8\u901f\u5316\u306f\u3001\u524d\u8ff0\u306e\u3088\u3046\u306b\u3001\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u306e\u5f37\u5316\u3055\u308c\u305f\u30b9\u30ec\u30c3\u30c9\u5272\u308a\u5f53\u3066\u306b\u3088\u3063\u3066\u3082\u305f\u3089\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB \u306f\u3001\u6a19\u6e96\u306e <a href=\"http:\/\/superfastpython.com\/threadpool-python\/\" target=\"_blank\" rel=\"noopener\">Python ThreadPool<\/a> (\u82f1\u8a9e) \u306b\u4ee3\u308f\u308b Pool \u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u307e\u305f\u3001<a href=\"http:\/\/www.geeksforgeeks.org\/monkey-patching-in-python-dynamic-behavior\/\" target=\"_blank\" rel=\"noopener\">\u30e2\u30f3\u30ad\u30fc\u30d1\u30c3\u30c1<\/a> (\u82f1\u8a9e) \u3092\u4f7f\u7528\u3057\u3066\u5b9f\u884c\u6642\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52d5\u7684\u306b\u7f6e\u304d\u63db\u3048\u305f\u308a\u66f4\u65b0\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u30e2\u30b8\u30e5\u30fc\u30eb\u5168\u4f53\u3067\u30b9\u30ec\u30c3\u30c9\u30d7\u30fc\u30eb\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB \u306f <a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/perflib\/mkl\/index.html\">\u30a4\u30f3\u30c6\u30eb\u00ae oneMKL<\/a> \u306e\u4ee3\u308f\u308a\u306b\u72ec\u81ea\u306e\u30b9\u30ec\u30c3\u30c9\u30ec\u30a4\u30e4\u30fc\u3092\u6709\u52b9\u306b\u3057\u3066\u3001NumPy \u304a\u3088\u3073 SciPy \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u304b\u3089\u306e\u547c\u3073\u51fa\u3057\u3067\u81ea\u52d5\u7684\u306b\u69cb\u6210\u53ef\u80fd\u306a\u4e26\u5217\u51e6\u7406\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u5165\u308c\u5b50\u306e\u4e26\u5217\u51e6\u7406\u306b\u3088\u3063\u3066\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u3069\u306e\u7a0b\u5ea6\u5411\u4e0a\u3059\u308b\u304b\u3092\u30c6\u30b9\u30c8\u3059\u308b\u306b\u306f\u3001\u30a4\u30f3\u30c6\u30eb\u00ae oneMKL \u3092\u5229\u7528\u3057\u305f NumPy\u3001\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB\u3001\u5bfe\u79f0\u578b\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30b7\u30f3\u30b0 (SMP) \u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3001\u5bfe\u5fdc\u3059\u308b IPython \u30ab\u30fc\u30cd\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u5b9f\u884c\u3059\u308b\u3001<strong>\u6b21\u306e\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u30fb\u30c7\u30e2\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/strong>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002IPython \u306f\u3001\u8907\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5bfe\u8a71\u578b\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u884c\u3046\u6a5f\u80fd\u8c4a\u5bcc\u306a\u30b3\u30de\u30f3\u30c9\u30fb\u30b7\u30a7\u30eb\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3059\u3002\u3053\u306e\u30c7\u30e2\u306f\u3001\u5b9a\u91cf\u6027\u80fd\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081 Jupyter Notebook \u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u884c\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-python\">import NumPy as np\nfrom multiprocessing.pool import ThreadPool\npool = ThreadPool(10)<\/code><\/pre>\n<p>Jupyter \u30e1\u30cb\u30e5\u30fc\u3067\u30ab\u30fc\u30cd\u30eb\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u3067\u8aac\u660e\u3059\u308b\u30e9\u30f3\u30bf\u30a4\u30e0\u7d50\u679c\u3092\u5f97\u308b\u306b\u306f\u3001\u4e0a\u8a18\u306e\u30bb\u30eb\u3092\u6bce\u56de\u518d\u5b9f\u884c\u3057\u3066 ThreadPool \u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<sup>3<\/sup><\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e Python \u30ab\u30fc\u30cd\u30eb\u304c\u4f7f\u7528\u3055\u308c\u30013 \u56de\u3068\u3082\u540c\u3058\u884c\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-python\">%timeit pool.map(np.linalg.qr, [np.random.random((256, 256)) for i in range(10)])<\/code><\/pre>\n<p>\u3053\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e Python \u30ab\u30fc\u30cd\u30eb\u3067\u4f7f\u7528\u3057\u3066\u3001\u884c\u5217\u306e<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E5%9B%BA%E6%9C%89%E5%80%A4%E3%81%A8%E5%9B%BA%E6%9C%89%E3%83%99%E3%82%AF%E3%83%88%E3%83%AB\" target=\"_blank\" rel=\"noopener\">\u56fa\u6709\u5024<\/a>\u3092\u691c\u7d22\u3067\u304d\u307e\u3059\u3002Python-m SMP \u30ab\u30fc\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u5b9f\u884c\u6642\u9593\u304c\u5927\u5e45\u306b\u6539\u5584\u3055\u308c\u307e\u3059\u3002Python-m TBB \u30ab\u30fc\u30cd\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3055\u3089\u306b\u5927\u304d\u306a\u6539\u5584\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u30fc\u30fb\u30c7\u30e2\u3067\u306f\u3001\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB \u306e\u52d5\u7684\u30bf\u30b9\u30af\u30fb\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u306b\u3088\u308a\u3001\u6700\u9ad8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002\u52d5\u7684\u30bf\u30b9\u30af \u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u306f\u3001\u6700\u3082\u5185\u5074\u306e\u4e26\u5217\u9818\u57df\u304c\u30b7\u30b9\u30c6\u30e0\u306e CPU \u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u3084\u3001\u51e6\u7406\u3059\u308b\u4f5c\u696d\u91cf\u304c\u5909\u52d5\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306b\u3001\u30b3\u30fc\u30c9\u3092\u6700\u3082\u52b9\u7387\u826f\u304f\u51e6\u7406\u3057\u307e\u3059\u3002SMP \u30a2\u30d7\u30ed\u30fc\u30c1\u3082\u6709\u7528\u3067\u3059\u304c\u3001\u901a\u5e38\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u53d6\u308c\u3066\u3044\u3066\u3001\u6700\u3082\u5916\u5074\u306e\u3059\u3079\u3066\u306e\u30ef\u30fc\u30ab\u30fc\u306e\u8ca0\u8377\u304c\u6bd4\u8f03\u7684\u985e\u4f3c\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u3001\u6700\u9ad8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6: \u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3092\u6d3b\u7528\u3057\u3066 AI\/ML \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u52a0\u901f\u3059\u308b<\/h2>\n<p>AI \u304a\u3088\u3073 ML \u6307\u5411\u306e Python \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308b\u65b9\u6cd5\u306f\u591a\u6570\u3042\u308a\u307e\u3059\u3002\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3068\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30b7\u30f3\u30b0\u306e\u30d1\u30ef\u30fc\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u306f\u3001\u4eca\u5f8c\u3082\u3001AI\/ML \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u9650\u754c\u307e\u3067\u52a0\u901f\u3057\u3001\u3055\u3089\u306b\u9650\u754c\u3092\u8d85\u3048\u3066\u52a0\u901f\u3059\u308b\u6700\u3082\u91cd\u8981\u306a\u624b\u6bb5\u306e 1 \u3064\u3067\u3042\u308a\u7d9a\u3051\u308b\u3067\u3057\u3087\u3046\u3002\u30a4\u30f3\u30c6\u30eb\u306e\u4ed6\u306e <a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/topic-technology\/artificial-intelligence\/tools.html\" target=\"_blank\" rel=\"noopener\">AI \u30c4\u30fc\u30eb<\/a> (\u82f1\u8a9e) \u3084<a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/tools\/frameworks\/overview.html\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a> (\u82f1\u8a9e) \u306e\u6700\u9069\u5316\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30a4\u30f3\u30c6\u30eb\u306e <a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/topic-technology\/artificial-intelligence\/overview.html\" target=\"_blank\" rel=\"noopener\">AI \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa<\/a> (\u82f1\u8a9e) \u306e\u57fa\u76e4\u3067\u3042\u308b\u3001\u7d71\u4e00\u3055\u308c\u305f\u30aa\u30fc\u30d7\u30f3\u306a\u6a19\u6e96\u30d9\u30fc\u30b9\u306e <a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/oneapi\/index.html\">oneAPI<\/a> \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fb\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066\u7406\u89e3\u3092\u6df1\u3081\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5165\u624b<\/h2>\n<ul>\n<li>\u30a4\u30f3\u30c6\u30eb\u00ae \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e Python \u306f\u3001<a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/articles\/tool\/oneapi-standalone-components.html#python\" target=\"_blank\" rel=\"noopener\">\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3<\/a> (\u82f1\u8a9e) \u307e\u305f\u306f<a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/tools\/oneapi\/ai-analytics-toolkit-download.html\" target=\"_blank\" rel=\"noopener\">\u30a4\u30f3\u30c6\u30eb\u00ae oneAPI AI \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u30fb\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8<\/a> (\u82f1\u8a9e) \u306e\u4e00\u90e8\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/articles\/tool\/oneapi-standalone-components.html#onetbb\" target=\"_blank\" rel=\"noopener\">\u30a4\u30f3\u30c6\u30eb\u00ae oneTBB<\/a> (\u82f1\u8a9e)\u3001<a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/tools\/oneapi\/onemkl-download.html\" target=\"_blank\" rel=\"noopener\">\u30a4\u30f3\u30c6\u30eb\u00ae oneMKL<\/a> (\u82f1\u8a9e) \u306f\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u307e\u305f\u306f<a href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/oneapi\/index.html?tab=1#features-base\">\u30a4\u30f3\u30c6\u30eb\u00ae oneAPI \u30d9\u30fc\u30b9\u30fb\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8<\/a>\u306e\u4e00\u90e8\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>Python \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n<ul>\n<li><a href=\"http:\/\/github.com\/oneapi-src\/oneAPI-samples\/tree\/master\/AI-and-Analytics\/Features-and-Functionality\/IntelPython_Numpy_Numba_dpex_kNN\" target=\"_blank\" rel=\"noopener\">\u30a4\u30f3\u30c6\u30eb\u306e Python \u306e NumPy \u3068 Numba_dpex<\/a> (\u82f1\u8a9e)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/oneapi-src\/oneAPI-samples\/tree\/master\/AI-and-Analytics\" target=\"_blank\" rel=\"noopener\">\u305d\u306e\u4ed6\u306e AI \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a> (\u82f1\u8a9e)<\/p>\n<p><strong>\u8b1d\u8f9e:<\/strong><br \/>\u672c\u30d6\u30ed\u30b0\u306b\u8ca2\u732e\u3057\u3066\u304f\u308c\u305f Sergey Maidanov\u3001Oleksandr Pavlyk\u3001Diptorup Deb \u306b\u611f\u8b1d\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h4>\u88fd\u54c1\u304a\u3088\u3073\u6027\u80fd\u306b\u95a2\u3059\u308b\u60c5\u5831<\/h4>\n<p class=\"disclaimer\"><sup>1<\/sup> \u6027\u80fd\u306f\u3001\u4f7f\u7528\u72b6\u6cc1\u3001\u69cb\u6210\u3001\u305d\u306e\u4ed6\u306e\u8981\u56e0\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a title=\"Follow link\" href=\"http:\/\/www.intel.com\/PerformanceIndex\" target=\"_blank\" rel=\"noopener\">http:\/\/www.intel.com\/PerformanceIndex\/<\/a> (\u82f1\u8a9e) \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"wp-block-group gray-bg\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">\u6700\u65b0\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3 2025 \u5bfe\u5fdc\uff01\u30a4\u30f3\u30c6\u30eb\u00ae \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u5411\u3051\u30b5\u30dd\u30fc\u30c8\u30b5\u30fc\u30d3\u30b9<\/h3>\n\n\n\n<p>\u30a8\u30af\u30bb\u30eb\u30bd\u30d5\u30c8\u304c\u63d0\u4f9b\u3059\u308b\u30a4\u30f3\u30c6\u30eb\u00ae \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u5411\u3051\u30b5\u30dd\u30fc\u30c8\u30b5\u30fc\u30d3\u30b9\u3067\u306f\u3001\u30a4\u30f3\u30c6\u30eb\u00ae \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u306e\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u79fb\u884c\u3001CUDA \u304b\u3089 SYCL \u3078\u306e\u30b3\u30fc\u30c9\u79fb\u884c\u3001\u4ed6\u793e\u88fd GPU \u3068\u306e\u30b3\u30fc\u30c9\u4e92\u63db\u306a\u3069\u3001\u65b0\u3057\u3044\u74b0\u5883\u3067\u3053\u308c\u307e\u3067\u901a\u308a\u696d\u52d9\u3092\u9042\u884c\u3059\u308b\u305f\u3081\u306e\u79fb\u884c\u3092\u652f\u63f4\u3057\u307e\u3059\u3002\u88fd\u54c1\u306e\u79fb\u884c\u306b\u95a2\u3057\u3066\u304a\u60a9\u307f\u3001\u8cea\u554f\u306a\u3069\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u6700\u65b0\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u65e5\u672c\u8a9e\u53c2\u8003\u8a33<\/h5>\n\n\n\n<p>\u30a8\u30af\u30bb\u30eb\u30bd\u30d5\u30c8\u3067\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 2025.0 \u306b\u5bfe\u5fdc\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u65e5\u672c\u8a9e\u53c2\u8003\u8a33\u3092\u4e00\u822c\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002\u73fe\u5728\u3001\u4ee5\u4e0b\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u95a2\u3059\u308b\u65e5\u672c\u8a9e\u53c2\u8003\u8a33\u3092\u3054\u53c2\u7167\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8 (\u30d9\u30fc\u30b9\u30fb\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8\u3001\u30d9\u30fc\u30b9 &amp; HPC \u30c4\u30fc\u30eb\u30ad\u30c3\u30c8)<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u306e\u88fd\u54c1\u7d39\u4ecb\u8cc7\u6599<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;oneAPI DPC++\/C++ \u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;Fortran \u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;VTune&#x2122; \u30d7\u30ed\u30d5\u30a1\u30a4\u30e9\u30fc\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb<sup>\u00ae<\/sup>&nbsp;DPC++ \u4e92\u63db\u6027\u30c4\u30fc\u30eb\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/li>\n\n\n\n<li>oneAPI for NVIDIA* GPU \u304a\u3088\u3073 AMD* GPU \u5c0e\u5165\u30ac\u30a4\u30c9<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c6\u30eb\u00ae oneAPI \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fb\u30ac\u30a4\u30c9<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-text-color has-background wp-element-button\" href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/tech\/documents.html?tab=1#doc-oneapi\" style=\"border-radius:10px;background-color:#e64946\"><strong>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u4e00\u89a7\u306f\u3053\u3061\u3089<\/strong><\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-text-color has-background wp-element-button\" href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/support\/oneapi.html\" style=\"border-radius:10px;background-color:#e64946\"><strong>\u30b5\u30dd\u30fc\u30c8\u30b5\u30fc\u30d3\u30b9\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/strong><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:22px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group gray-bg\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">\u30a4\u30f3\u30c6\u30eb\u00ae \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb2025 \u30ea\u30ea\u30fc\u30b9\u8a18\u5ff5\u30ad\u30e3\u30f3\u30da\u30fc\u30f3<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30c6\u30eb\u00ae&nbsp;\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u30c4\u30fc\u30eb\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3 2025 \u306e\u30ea\u30ea\u30fc\u30b9\u3092\u8a18\u5ff5\u3057\u3066\u3001\u5bfe\u8c61\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30a4\u30d9\u30f3\u30c8\u306b\u53c2\u52a0\u3044\u305f\u3060\u304d\u3001\u4e8b\u5f8c\u30a2\u30f3\u30b1\u30fc\u30c8\u306b\u3054\u56de\u7b54\u3044\u305f\u3060\u3044\u305f\u65b9\u306e\u4e2d\u304b\u3089\u3001\u62bd\u9078\u3067\u5408\u8a08 18 \u540d\u69d8\u306b\u30a4\u30f3\u30c6\u30eb Arc B580 \u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u306a\u3069\u304c\u5f53\u305f\u308b\u30d7\u30ec\u30bc\u30f3\u30c8\u30fb\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092\u5b9f\u65bd\u4e2d\u3067\u3059\u3002\u3010\u7de0\u5207 : 2025\u5e742\u670820\u65e5 (\u6728)\u3011<\/p>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-content-justification-left is-layout-flex wp-container-core-buttons-is-layout-fdcfc74e wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-text-color has-background wp-element-button\" href=\"https:\/\/www.xlsoft.com\/jp\/products\/intel\/oneapi2025cmp\/index.html?utm_source=xlsoft&amp;utm_medium=intel_blog&amp;utm_campaign=release2025cmp\" style=\"border-radius:10px;background-color:#e64946\"><strong>\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/strong><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30a4\u30f3\u30c6\u30eb\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b <a class=\"mh-excerpt-more\" href=\"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/2024\/12\/23\/easy-guide-to-multithreading-in-python\/\" title=\"Python \u306e\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u5165\u9580\u30ac\u30a4\u30c9\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":3336,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,19,20,34],"class_list":["post-3329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-tips","tag-oneapi","tag-onemkl","tag-onetbb","tag-python"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/posts\/3329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/comments?post=3329"}],"version-history":[{"count":10,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/posts\/3329\/revisions"}],"predecessor-version":[{"id":3343,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/posts\/3329\/revisions\/3343"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/media\/3336"}],"wp:attachment":[{"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/media?parent=3329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/categories?post=3329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xlsoft.com\/jp\/blog\/intel\/wp-json\/wp\/v2\/tags?post=3329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}