Skip to content

Commit cad8bd7

Browse files
committed
♻️ Remove useless comments
1 parent 47c5e18 commit cad8bd7

File tree

6 files changed

+1
-6
lines changed

6 files changed

+1
-6
lines changed
Binary file not shown.
-50.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.

Plugin/PluginInteropUnityCUDA/src/unity_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static void OnRenderEvent(int eventID)
118118
// Unknown / unsupported graphics device type? Do nothing
119119
if (s_CurrentAPI == NULL)
120120
{
121-
Log::log().debugLogError("Unknown API.");
121+
Log::log().debugLogError("RenderEvent stop because API is unknown.");
122122
return;
123123
}
124124

Plugin/SampleBasic/src/action_sample_vertex_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ namespace SampleBasic {
2727

2828
float4* v = (float4*)malloc(_vertexBuffer->getSize());
2929
cudaMemcpy(v, ptr, _vertexBuffer->getSize(), cudaMemcpyDeviceToHost);
30-
Log::log().debugLog(std::to_string(v[2].x));
3130

3231

3332
_vertexBuffer->unmapResources();

Plugin/SampleBasic/src/main.cu

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ void kernelCallerWriteTextureArray(const dim3 dimGrid, const dim3 dimBlock,
6161
const float time, const int width,
6262
const int height, const int depth)
6363
{
64-
Log::log().debugLog("time = " + std::to_string(time));
65-
Log::log().debugLog("width = " + std::to_string(width));
66-
Log::log().debugLog("height = " + std::to_string(height));
67-
Log::log().debugLog("depth = " + std::to_string(depth));
6864
writeTexArray<<<dimGrid, dimBlock>>>(inputSurfaceObj, width, height,depth, time);
6965
}
7066

0 commit comments

Comments
 (0)