opencl - Memory usage in Dual GPU(Multi GPU) -
i using 2 gpus of same configuration hpc gpgpu calculation using opencl. 1 of card connected display purpose , 200-300 mb of memory used 2 programs called compiz , x server.
question , when using these gpu's computation can use partial amount of total memory in gpu used display purpose whereas 2nd gpu able use entire global memory.
in case using 2 nvidia quadro 410, has 192 cuda cores , 512 mb memory 503 mb usable . in case of display gpu can use 128mb computation , other can use full 503 mb calculation.
according the opencl specification page 32
max size of memory obj ect allocation in bytes. minimum value max (1/4 th of cl_device_global_mem_size , 128*1024*1024)
also shouldn't hold gpu's present in system?
just continue read point, see
max size of memory object allocation in bytes. minimum value max (1/4th of cl_device_global_mem_size , 128*1024*1024)
so whichever greater, 128mb or 1/4 of total; limit.