Workaround some AMD device_maxmem_alloc / device_global_mem problem