fixed build warnings

This commit is contained in:
Mathis Waldmann
2021-09-09 22:15:53 +02:00
committed by Sheepit Renderfarm
parent c131283a1d
commit d90a689f27

View File

@@ -79,6 +79,7 @@ public class CUresult {
* profiling via ::cuProfilerStart or ::cuProfilerStop without * profiling via ::cuProfilerStart or ::cuProfilerStop without
* initialization. * initialization.
*/ */
@Deprecated
public static final int CUDA_ERROR_PROFILER_NOT_INITIALIZED = 6; public static final int CUDA_ERROR_PROFILER_NOT_INITIALIZED = 6;
/** /**
@@ -89,6 +90,7 @@ public class CUresult {
* It is no longer an error to call cuProfilerStart() when * It is no longer an error to call cuProfilerStart() when
* profiling is already enabled. * profiling is already enabled.
*/ */
@Deprecated
public static final int CUDA_ERROR_PROFILER_ALREADY_STARTED = 7; public static final int CUDA_ERROR_PROFILER_ALREADY_STARTED = 7;
/** /**
@@ -99,6 +101,7 @@ public class CUresult {
* It is no longer an error to call cuProfilerStop() when * It is no longer an error to call cuProfilerStop() when
* profiling is already disabled. * profiling is already disabled.
*/ */
@Deprecated
public static final int CUDA_ERROR_PROFILER_ALREADY_STOPPED = 8; public static final int CUDA_ERROR_PROFILER_ALREADY_STOPPED = 8;
/** /**
@@ -320,6 +323,7 @@ public class CUresult {
* @deprecated This value has been added in CUDA 4.0 RC, * @deprecated This value has been added in CUDA 4.0 RC,
* and removed in CUDA 4.0 RC2 * and removed in CUDA 4.0 RC2
*/ */
@Deprecated
public static final int CUDA_ERROR_PEER_MEMORY_ALREADY_REGISTERED = 706; public static final int CUDA_ERROR_PEER_MEMORY_ALREADY_REGISTERED = 706;
/** /**
@@ -329,6 +333,7 @@ public class CUresult {
* @deprecated This value has been added in CUDA 4.0 RC, * @deprecated This value has been added in CUDA 4.0 RC,
* and removed in CUDA 4.0 RC2 * and removed in CUDA 4.0 RC2
*/ */
@Deprecated
public static final int CUDA_ERROR_PEER_MEMORY_NOT_REGISTERED = 707; public static final int CUDA_ERROR_PEER_MEMORY_NOT_REGISTERED = 707;
/** /**