Merge pull request #1626 from mhbliao/hliao/master/fix.windows.build
Use portable macro for deprecation message.
[ROCm/hip commit: 32a67c9f14]
此提交包含在:
@@ -2994,7 +2994,8 @@ hipError_t hipExtLaunchMultiKernelMultiDevice(hipLaunchParams* launchParamsList,
|
||||
* When using this API, start the profiler with profiling disabled. (--startdisabled)
|
||||
* @warning : hipProfilerStart API is under development.
|
||||
*/
|
||||
hipError_t hipProfilerStart() __attribute__((deprecated("use roctracer/rocTX instead")));
|
||||
DEPRECATED("use roctracer/rocTX instead")
|
||||
hipError_t hipProfilerStart();
|
||||
|
||||
|
||||
/**
|
||||
@@ -3002,7 +3003,8 @@ hipError_t hipProfilerStart() __attribute__((deprecated("use roctracer/rocTX ins
|
||||
* When using this API, start the profiler with profiling disabled. (--startdisabled)
|
||||
* @warning : hipProfilerStop API is under development.
|
||||
*/
|
||||
hipError_t hipProfilerStop() __attribute__((deprecated("use roctracer/rocTX instead")));
|
||||
DEPRECATED("use roctracer/rocTX instead")
|
||||
hipError_t hipProfilerStop();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
新增問題並參考
封鎖使用者