We have a struct of array that holding the data for a number of PurchaseOrder objects. We also use the CURND library to produce random numbers for the monte carlo simulation of the PurchaseOrder objects.
When the number of purchaseorder is small, the produced results is correct.
However, when the number of purchaseorder is huge, the produced results is wrong or the code can crash at the line when the CURND library(uniformdouble) is called.
Will this strange behavior I am getting is becuase the memory overflow of the global memory and it fails silently?
We have a struct of array that holding the data for a number of PurchaseOrder objects. We also use the CURND library to produce random numbers for the monte carlo simulation of the PurchaseOrder objects.
When the number of purchaseorder is small, the produced results is correct.
However, when the number of purchaseorder is huge, the produced results is wrong or the code can crash at the line when the CURND library(uniformdouble) is called.
Will this strange behavior I am getting is becuase the memory overflow of the global memory and it fails silently?