Skip to content

Remove pystencils.GPU_DEVICE

Michael Kuron requested to merge device_selection into master

This function reports the sizes of L1/L2/L3 caches and free and total RAM, so why not also have it report the memory size of each GPU instead of just the selected GPU. It is not used anywhere, so the slight API change has no consequences.

Related to pystencils!336 (merged)

test_gpu_block_size_limiting.py::test_gpu_block_size_limiting actually failed on master since pystencils!335 (merged), but that is due to an error in the test (it was expecting the input argument to be modified and ignoring the return value of limit_block_size_by_register_restriction).

Edited by Michael Kuron

Merge request reports