[v0.11] Fixes to recover CUDA functionality, ready for implementing Intel iGPU code

This commit is contained in:
Dr-Noob
2021-11-26 09:33:57 +01:00
parent e5a4f91b20
commit 310486a6a2
4 changed files with 20 additions and 46 deletions

View File

@@ -7,6 +7,7 @@
struct gpu_info* get_gpu_info_intel() {
struct gpu_info* gpu = (struct gpu_info*) emalloc(sizeof(struct gpu_info));
gpu->vendor = GPU_VENDOR_INTEL;
return gpu;
}
@@ -14,7 +15,7 @@ struct gpu_info* get_gpu_info_intel() {
bool print_gpu_intel(struct gpu_info* gpu) {
if(gpu->vendor != GPU_VENDOR_INTEL) return false;
printf("%s\n", gpu->name);
printf("Intel ???\n");
return true;
}