Final cleanup and added last run configs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Run SDF Tool" type="DotNetProject" factoryName=".NET Project" focusToolWindowBeforeRun="true">
|
||||
<configuration default="false" name="Run SDF Tool [Debug, 8 pic]" type="DotNetProject" factoryName=".NET Project" focusToolWindowBeforeRun="true">
|
||||
<option name="EXE_PATH" value="$PROJECT_DIR$/SDFMapCreator/bin/Release/net8.0/SDFMapTool" />
|
||||
<option name="PROGRAM_PARAMETERS" value="-d -D "./images" -o "./sdf.png" -i "01.png;02.png;03.png;04.png;05.png;06.png;07.png;08.png"" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/SDFMapCreator/bin/Release/net8.0" />
|
||||
@@ -66,15 +66,6 @@
|
||||
<None Update="images\spherehalf32.png">
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="images\TestPattern.png">
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="images\1.png">
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="images\2.png">
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -25,19 +25,19 @@ public partial class SdfKernels {
|
||||
Console.WriteLine("Reading available accelerators (CUDA only)...");
|
||||
foreach (var device in gpuContext.GetCudaDevices()) {
|
||||
using var accelerator = device.CreateAccelerator(gpuContext);
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} {accelerator.AcceleratorType}");
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} ({accelerator.AcceleratorType})");
|
||||
}
|
||||
|
||||
Console.WriteLine("Reading available accelerators (OpenCL only)...");
|
||||
foreach (var device in gpuContext.GetCLDevices()) {
|
||||
using var accelerator = device.CreateAccelerator(gpuContext);
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} {accelerator.AcceleratorType}");
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} ({accelerator.AcceleratorType})");
|
||||
}
|
||||
|
||||
Console.WriteLine("Reading available accelerators (CPU only)...");
|
||||
foreach (var device in gpuContext.GetCPUDevices()) {
|
||||
using var accelerator = device.CreateAccelerator(gpuContext);
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} {accelerator.AcceleratorType}");
|
||||
Console.WriteLine($"Found accelerator: {accelerator.Name} ({accelerator.AcceleratorType})");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user