Added logline specifying what accelerator has been bound
This commit is contained in:
@@ -40,6 +40,7 @@ public partial class SdfKernels {
|
||||
}
|
||||
|
||||
accelerator = gpuContext.GetPreferredDevice(false).CreateAccelerator(gpuContext);
|
||||
Console.WriteLine($"Using accelerator: {accelerator.Name} ({accelerator.AcceleratorType})");
|
||||
}
|
||||
|
||||
public SdfKernels(DeviceType device) {
|
||||
@@ -57,6 +58,7 @@ public partial class SdfKernels {
|
||||
.ToContext();
|
||||
|
||||
accelerator = gpuContext.GetPreferredDevice(false).CreateAccelerator(gpuContext);
|
||||
Console.WriteLine($"Using accelerator: {accelerator.Name} ({accelerator.AcceleratorType})");
|
||||
}
|
||||
|
||||
public void SelfMask(Vector3[,] input, out Vector3[,] mask) {
|
||||
|
||||
Reference in New Issue
Block a user