Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/hip/device.cpp
| Show All 10 Lines | |||||
| * distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | ||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "device/hip/device.h" | #include "device/hip/device.h" | ||||
| #include "util/util_logging.h" | #include "util/log.h" | ||||
| #ifdef WITH_HIP | #ifdef WITH_HIP | ||||
| # include "device/device.h" | # include "device/device.h" | ||||
| # include "device/hip/device_impl.h" | # include "device/hip/device_impl.h" | ||||
| # include "util/util_string.h" | # include "util/string.h" | ||||
| # include "util/util_windows.h" | # include "util/windows.h" | ||||
| #endif /* WITH_HIP */ | #endif /* WITH_HIP */ | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| bool device_hip_init() | bool device_hip_init() | ||||
| { | { | ||||
| #if !defined(WITH_HIP) | #if !defined(WITH_HIP) | ||||
| return false; | return false; | ||||
| ▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines | |||||