Open frankwswang opened 2 years ago
Can I infer correctly that you have 64 GB of memory on your machine? But you still use a 32-bit version of Julia. How does that work exactly?
I only have 16 GB of memory on my machine. My system is a 64-bit Windows, but I wanted to try out the 32-bit Julia version.
Oh right, I misinterpreted one line of my code (which could be improved). Still, 32bit would theoretically only allow 4GB of memory. Can you confirm that typeof(Sys.total_memory())
is UInt64
despite using 32-bit Julia?
Oh right, I misinterpreted one line of my code (which could be improved). Still, 32bit would theoretically only allow 4GB of memory. Can you confirm that
typeof(Sys.total_memory())
isUInt64
despite using 32-bit Julia?
Yes. I can confirm that on my machine, even when running a 32-bit Julia, typeof(Sys.total_memory())
is still UInt64
.
Ok, to fully support this, I would need to change a number of Int
to Int32
variables (struct fields) in both LRUCache.jl and TensorOperations.jl
Since I don't have a 32-bit julia installation at hand, what is the value of something like typeof(sizeof(randn(1,1)))
. Perhaps I should just change everything to Int64
explicitly to be on the safe side.
Since I don't have a 32-bit julia installation at hand, what is the value of something like
typeof(sizeof(randn(1,1)))
. Perhaps I should just change everything toInt64
explicitly to be on the safe side.
For typeof(sizeof(randn(1,1)))
it's Int32
.
I tried to install the package on a 32-bit Julia and got the precompile error message: