Now prints device info before trying to run the dummy kernel

This commit is contained in:
jpekkila
2019-08-12 09:46:37 +03:00
parent fdadd463b7
commit 8bbb2cd5df

View File

@@ -92,6 +92,7 @@ acDeviceCreate(const int id, const AcMeshInfo device_config, Device* device_hand
device->id = id;
device->local_config = device_config;
acDevicePrintInfo(device);
// Check that the code was compiled for the proper GPU architecture
printf("Trying to run a dummy kernel. If this fails, make sure that your\n"