Cleanup: clang-format
This commit is contained in:
parent
dc378bf1a4
commit
acc800d24d
|
@ -233,9 +233,7 @@ string HIPDevice::compile_kernel_get_common_cflags(const uint kernel_features)
|
|||
return cflags;
|
||||
}
|
||||
|
||||
string HIPDevice::compile_kernel(const uint kernel_features,
|
||||
const char *name,
|
||||
const char *base)
|
||||
string HIPDevice::compile_kernel(const uint kernel_features, const char *name, const char *base)
|
||||
{
|
||||
/* Compute kernel name. */
|
||||
int major, minor;
|
||||
|
|
|
@ -93,9 +93,7 @@ class HIPDevice : public Device {
|
|||
|
||||
virtual string compile_kernel_get_common_cflags(const uint kernel_features);
|
||||
|
||||
string compile_kernel(const uint kernel_features,
|
||||
const char *name,
|
||||
const char *base = "hip");
|
||||
string compile_kernel(const uint kernel_features, const char *name, const char *base = "hip");
|
||||
|
||||
virtual bool load_kernels(const uint kernel_features) override;
|
||||
void reserve_local_memory(const uint kernel_features);
|
||||
|
|
|
@ -76,4 +76,4 @@ class MetalKernelContext {
|
|||
}
|
||||
# include "kernel/device/gpu/image.h"
|
||||
|
||||
// clang-format on
|
||||
// clang-format on
|
||||
|
|
|
@ -113,7 +113,7 @@ void BKE_mesh_runtime_reset_on_copy(Mesh *mesh, const int UNUSED(flag))
|
|||
|
||||
/**
|
||||
* \brief This function clears runtime cache of the given mesh.
|
||||
*
|
||||
*
|
||||
* Call this function to recalculate runtime data when used.
|
||||
*/
|
||||
void BKE_mesh_runtime_clear_cache(Mesh *mesh)
|
||||
|
|
|
@ -35,4 +35,4 @@ void ui_region_temp_remove(struct bContext *C, bScreen *screen, ARegion *region)
|
|||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue