Skip to content

Conversation

@smaslov-intel
Copy link
Contributor

Signed-off-by: Sergey V Maslov sergey.v.maslov@intel.com

Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
@romanovvlad romanovvlad merged commit 5342ec1 into intel:sycl Sep 10, 2021

static const pi_uint32 ZeCommandListBatchSize = [] {
// Configuration of the command-list batching.
typedef struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to build on Windows today, and I'm getting this error on this struct:

C:\iusers\cperkins\sycl_workspace\llvm\sycl\plugins\level_zero\pi_level_zero.cpp(850): error C2220: the following warning is treated as an error
C:\iusers\cperkins\sycl_workspace\llvm\sycl\plugins\level_zero\pi_level_zero.cpp(850): warning C5208: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes

But the CI was able to build and pass. I tried building from scratch with our python script and no luck. MSVC 2019 I think on the Win dev machine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you type-name the struct to avoid possible errors? (since you can verify this)

Copy link
Contributor

@cperkinsintel cperkinsintel Sep 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smaslov-intel - yeah, that was it.

I opened a newer PR that includes that fix: #4557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants