Skip to content

Commit de83649

Browse files
committed
More formatting
1 parent c4a9552 commit de83649

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ per-file-ignores =
3131
dpctl/utils/_compute_follows_data.pyx: E999, E225, E227
3232
dpctl/utils/_onetrace_context.py: E501, W505
3333
dpctl/tensor/_array_api.py: E501, W505
34+
dpctl/experimental/_work_group_memory.pyx: E999
3435
examples/cython/sycl_buffer/syclbuffer/_syclbuffer.pyx: E999, E225, E402
3536
examples/cython/usm_memory/blackscholes/_blackscholes_usm.pyx: E999, E225, E226, E402
3637
examples/cython/use_dpctl_sycl/use_dpctl_sycl/_cython_api.pyx: E999, E225, E226, E402

libsyclinterface/include/syclinterface/dpctl_sycl_extension_interface.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636

3737
DPCTL_C_EXTERN_C_BEGIN
3838

39-
typedef struct RawWorkGroupMemoryTy {
40-
size_t nbytes;
39+
typedef struct RawWorkGroupMemoryTy
40+
{
41+
size_t nbytes;
4142
} RawWorkGroupMemory;
4243

4344
typedef struct DPCTLOpaqueSyclWorkGroupMemory *DPCTLSyclWorkGroupMemoryRef;

libsyclinterface/include/syclinterface/dpctl_sycl_type_casters.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ DEFINE_SIMPLE_CONVERSION_FUNCTIONS(std::vector<DPCTLSyclEventRef>,
8181
DPCTLEventVectorRef)
8282

8383
#include "dpctl_sycl_extension_interface.h"
84-
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(
85-
RawWorkGroupMemory,
86-
DPCTLSyclWorkGroupMemoryRef)
84+
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(RawWorkGroupMemory,
85+
DPCTLSyclWorkGroupMemoryRef)
8786

8887
#endif
8988

libsyclinterface/source/dpctl_sycl_extension_interface.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,3 @@ bool DPCTLWorkGroupMemory_Available()
6262
return false;
6363
#endif
6464
}
65-

0 commit comments

Comments
 (0)