SWDEV-316128 - HIP surface API support
remove redundant code in host API Change-Id: I8fbf894e858642da4198cc7afd2d2e2f1971e738
This commit is contained in:
committad av
Hao Yuan
förälder
c0b859641f
incheckning
a7a7b62c73
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc.
|
||||
/* Copyright (c) 2015 - 2022 Advanced Micro Devices, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -81,8 +81,6 @@ hipError_t hipCreateSurfaceObject(hipSurfaceObject_t* pSurfObject,
|
||||
}
|
||||
|
||||
hipError_t ihipDestroySurfaceObject(hipSurfaceObject_t surfaceObject) {
|
||||
HIP_INIT_API(hipDestroySurfaceObject, surfaceObject);
|
||||
|
||||
if (surfaceObject == nullptr) {
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
Referens i nytt ärende
Block a user