$KernelCount

$KernelCount

並列計算に使用可能なサブカーネルの数を返す.

詳細

  • $KernelCountLength[Kernels[]]に等しい.
  • 特定のマスターカーネルのサブカーネルで評価された場合,$KernelCountはそのマスターカーネルが使用可能なサブカーネルの数を返す.

例題

すべて開くすべて閉じる

  (1)

アプリケーション  (1)

各並列カーネルで乱数素数の検索を実行する:

特性と関係  (1)

$KernelCountは事実上共有変数である:

Wolfram Research (2008), $KernelCount, Wolfram言語関数, https://reference.wolfram.com/language/ref/$KernelCount.html.

テキスト

Wolfram Research (2008), $KernelCount, Wolfram言語関数, https://reference.wolfram.com/language/ref/$KernelCount.html.

CMS

Wolfram Language. 2008. "$KernelCount." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$KernelCount.html.

APA

Wolfram Language. (2008). $KernelCount. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$KernelCount.html

BibTeX

@misc{reference.wolfram_2024_$kernelcount, author="Wolfram Research", title="{$KernelCount}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/$KernelCount.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$kernelcount, organization={Wolfram Research}, title={$KernelCount}, year={2008}, url={https://reference.wolfram.com/language/ref/$KernelCount.html}, note=[Accessed: 22-November-2024 ]}