# \donttest{
if (ggml_vulkan_available()) {
# 4096 rows across 2 devices, evenly
ggml_vulkan_split_row_ranges(4096L, 2L)
# weighted 3:1
ggml_vulkan_split_row_ranges(4096L, 2L, weights = c(3, 1))
}
# }
Run the code above in your browser using DataLab