Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed Feb 25, 2023
1 parent 4b77e94 commit ca15a34
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions libsyclinterface/source/dpctl_sycl_queue_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ static_assert(__SYCL_COMPILER_VERSION >= __SYCL_COMPILER_VERSION_REQUIRED,

using namespace dpctl::syclinterface;

typedef struct complex
{
uint64_t real;
uint64_t imag;
} complexNumber;

/*!
* @brief Set the kernel arg object
*
Expand Down Expand Up @@ -735,15 +741,6 @@ DPCTLQueue_Fill64(__dpctl_keep const DPCTLSyclQueueRef QRef,
}
}

namespace
{
typedef struct complex
{
uint64_t real;
uint64_t imag;
} coplexNumber;
} // namespace

__dpctl_give DPCTLSyclEventRef
DPCTLQueue_Fill128(__dpctl_keep const DPCTLSyclQueueRef QRef,
void *USMRef,
Expand All @@ -754,7 +751,7 @@ DPCTLQueue_Fill128(__dpctl_keep const DPCTLSyclQueueRef QRef,
if (Q && USMRef) {
sycl::event ev;
try {
coplexNumber Val;
complexNumber Val;
Val.real = Value[0];
Val.imag = Value[1];
ev = Q->fill(USMRef, Val, Count);
Expand Down

0 comments on commit ca15a34

Please sign in to comment.