Description
Hello 👋,
I am currently studying your code and came across a potential issue in the interpreter.cu file. It appears that the following two lines of code are repeated, both retrieving the stack size instead of one retrieving the heap size:
Location:
- File: interpreter/interpreter.cu
- Lines: 32-35
cudaDeviceGetLimit(&size_value, cudaLimitStackSize);
printf("current stack size %zu\n", size_value);
cudaDeviceGetLimit(&size_value, cudaLimitStackSize);
printf("current heap size %zu\n", size_value);
It seems like the second call to cudaDeviceGetLimit should be retrieving the heap size instead of the stack size. Could you please confirm if this is a mistake?