如何在 Windows 7(64 位)的 Octave 中准确启用 64 位索引

How exactly enable 64 bit indexing in Octave on Windows 7(64 bit)

我知道这是一个老话题。但是在 Google 上用尽搜索后我仍然没有任何线索。我正在学习 http://deeplearning.stanford.edu/tutorial/. On that tutorial in the SoftMax regression section I need to read 4704000 bytes( i.e images = fread(fp, 28*28*30000, 'uchar'). The script is working but too slow. Octave Using at most 500mb. I found that we should allow 64 bit indexing(https://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html 上的深度学习教程)。 我不确定如何在 Windows Octave 版本 3.8.2 中启用 64 位索引。 欢迎任何建议或答案。谢谢!

64 位索引不是您启用的。您必须像那样从源代码构建 Octave。这在 windows 中并非微不足道。 "Octave has to be configured with the option --enable-64" 中的配置一词是指您在实际构建 Octave 之前 运行 的配置脚本,而不是您可以从 Octave 运行 获得的某些配置文件或选项。

此外,BLAS 和 LAPACK 等 Octave 依赖项也需要使用 64 位从源代码重建,我听说这更不重要。即使在 Linux 中,大多数发行版也只提供 32 位版本。看到一个recent discussion on the mailing list.

windows 中有一个实验版本 http://www.tatsuromatsuoka.com/octave/Eng/Win/ 查找 *-LA* 版本