Skip to content

UT for enqueueWriteImage#7

Open
piotr-wozniak-mobica wants to merge 3 commits into
mainfrom
ut_enqueueWriteImage
Open

UT for enqueueWriteImage#7
piotr-wozniak-mobica wants to merge 3 commits into
mainfrom
ut_enqueueWriteImage

Conversation

@piotr-wozniak-mobica

Copy link
Copy Markdown
Collaborator

No description provided.

@shajder

shajder commented Aug 11, 2023

Copy link
Copy Markdown
Collaborator

@piotr-wozniak-mobica as I mentioned during daily meeting, I would extend that unit test with clEnqueueReadImage as well to stick to the idea behind general structure of this project

Comment thread tests/test_openclhpp.cpp
@shajder

shajder commented Sep 20, 2023

Copy link
Copy Markdown
Collaborator

@piotr-wozniak-mobica please resolve conflicts, I will have few more remarks here.

@shajder shajder left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

except minor issues LGTM

Comment thread tests/test_openclhpp.cpp Outdated
TEST_ASSERT_EQUAL(type, CL_GL_OBJECT_BUFFER);
TEST_ASSERT_EQUAL(bufobj, 0);
}
cl_int clEnqueueWriteImage_testenqueueWriteImage(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we make all local procedures static ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@shajder Added static to mock methods

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