Day 16 — Tutorials, Again #5

Hey, all! Welcome to CryptoCL.

After meeting with Dr. Marmorstein, we’re putting in a bit more time into the Hands-On OpenCL tutorials. I’m still working toward solving Exercise 09 — using the given solutions in the git repository.

Going through and implementing the solution, I’m running into an issue with some of the command that the solution uses. The commands are a function called “getWorkGroupInfo”, called by the kernel, and “getInfo” called by the OpenCL device. It seems to think that getWorkGroupInfo has no matching function, but this is not true since the solution calls this function. The second error, however, might be an issue that DEVICE is a defined variable, and does not match the cl::Device object that calls the function. I have some ideas in mind to fix it, but that is for another day.

I’ll continue to work on these throughout the week, until I meet with Marmorstein about designing our cryptographic algorithm to use that is compatible with OpenCL.

Until next time!

Kyle Jenkins

Time spent today: 2 hours
Total Time: 23 hours 30 minutes

Posted in Uncategorized | Tagged , | Comments Off on Day 16 — Tutorials, Again #5

tablepress test

[table id=1 /]

Posted in Misc | Comments Off on tablepress test

Day 15 — Tutorials, Again #4

Hey, all! Welcome to CryptoCL.

Today, I logged into the lab system to work on the Exercises of the Hands-On OpenCL tutorial. I made some progress into Exercise #09, and have an implementation written, but the program currently results in a segmentation fault. I had only a little time to work on it, since I had other errands to run and the weather was poor, but once I can fix the errors in my implementation, I can work to refine the code and have it pass the exercise.

As far as actual work, it was a slow day, but I feel it was a good day.

See you next time!

Kyle Jenkins

Time spent today: 1 hour 15 minutes
Total Time: 21 hours 30 minutes

Posted in Uncategorized | Tagged , | Comments Off on Day 15 — Tutorials, Again #4

Day 14 — Tutorials, Again #3 and The Game Plan

Hey, all! Welcome to CryptoCL.

Today, I made some progress on my Hands-On OpenCL exercises and met with Dr. Marmorstein about what’s next for the project.

The issue I was having with Exercise #07 was that I had assumed that the code I was given was a base for what I needed to do, and was correct. This was a wrong assumption, as a cl::NDRange variable called global, which states what the dimension range of the given arguments for the kernel function, was incorrect*. It was set to be a two-dimensional variable, wherein it was supposed to be one-dimensional. After setting it to be one-dimensional of size N, and then declaring a cl::NDRange local variable of size N divided by 16, which means it would be 64 (as N is size 1024). For Exercise #07, I also needed to store the values of the A matrix to private memory. This saw an x4 improvement to the OpenCL portion of the program, compared to Exercise #06.

Exercise #08, on the other hand, utilized the local memory declaration, and called for me to store the B matrix to local memory. This further increased the time.

*Note: As I am writing this post, I believe this implementation may be wrong, as these matrices are two-dimensional. I will have to look at these exercises again and make sure.

Now reaching Exercise #09, I met with Dr. Marmorstein about what the plan would be for this week. The goal is to continue through the exercises, and then next week we will continue attempting to take what we learned into the BLAKE2 implementation, however, the chances are that we will utilize a custom cryptograph, instead. The custom hash would be able to excel with confusion, where the ciphertext and key become so scrambled and altered that it is difficult to establish a relationship between them, using OpenCL. However, the hash would have a difficult time with diffusion, in which each byte of the plaintext should equate to a portion of the ciphertext (and change the ciphertext if changed).

Over this week, I will be continuing with my exercises, and will post my progress as I do so. Thank you for reading!

Kyle Jenkins

Time spent today: 1 hour 15 minutes
Total Time: 20 hours 15 minutes

Posted in Uncategorized | Tagged , | Comments Off on Day 14 — Tutorials, Again #3 and The Game Plan

Supporting your student’s emotional and physical well-being

As we get deeper into the semester, I know many of you are concerned about how social distancing and restrictions on gatherings are impacting your student’s emotional well-being.

Of course, it’s not business as usual, but I wanted to let you know that a number of activities and events, including Oktoberfest, as well as student organizations, have adjusted to the health guidelines and are providing your student with opportunities for socializing and making new friends.

Longwood has more than 175 student organizations ranging from sports clubs to academically focused clubs to community service organizations. Please encourage your student to participate—if not in one of the activities below then in something else that aligns with their interests.

STEP Puppies (Service-Dog Training and Education Program), one of Longwood’s 175+ student organizations, has become a welcome fixture on campus.

Oktoberfest Klown and Spirit Leader Dance
noon Saturday, Oct. 3, Stubbs Lawn

Oktoberfest Virtual Concert featuring Lee Brice
7 p.m. Saturday, Oct. 3
Students will receive an email link to the concert

Outdoor Club Lawn Games
4:30-5:30 p.m., Tuesday, Sept. 29, Stubbs Lawn
Cornhole, badminton, lawn bowling and more

Intro to Disc Golf
4-5:30 p.m., Thursday, Oct. 1, 1503 Johnston Drive

Disc Golf League
noon Sundays, disc golf course, 1503 Johnston Drive

Stargazing with the Outdoor Club and Society of Physics Students
8-11 p.m., Thursday, Oct. 1, Lancer Park Softball Field

Lancer Guard Conditioning and Tryouts
Conditioning: Tuesdays, Wednesdays and Thursdays, 8-10 p.m., Mac gym
Tryouts: 8-10 p.m. Oct. 15, Health and Fitness Center (based on routine learned in conditioning)
A dance and flag corps

Longwood String Ensemble
7 p.m. Tuesdays and Thursdays, Longwood Landings #116
For violinists, violists, cellists and double bassists with at least one year of playing experience

Group Fitness Classes
Various times, Health and Fitness Center
Spin, yoga, boxing, pilates and more

The Fitness Center is open and offers group classes.

Counseling and Psychological Services

If your student shrugs off your suggestions about getting involved and really seems to be struggling, you can encourage them to get in touch with Counseling and Psychological Services (CAPS).

“We recognize that many students may be struggling with anxiety, grief, sadness, confusion, loneliness and other difficulties in the midst of navigating a global health pandemic, financial hardships, increased social disconnection, and continued racial injustice and unrest,” says Dr. Maureen Walls-McKay, director of CAPS. “Whatever struggles students may be experiencing, CAPS is here to help.”

CAPS offers individual counseling and group therapy, both in person and via Zoom. There’s even a Zoom support group for students who are in isolation or quarantine. If you’d like more information, you can reach CAPS at 434-395-2409.

Q&A with the University Health Center medical director

Dr. Rob Wade

Dr. Rob Wade and the staff of dedicated professionals affiliated with the University Health Center are working especially hard this semester to support students’ health and wellness. Dr. Wade took a few minutes recently to answer some questions about the Health Center, its procedures for supporting students through Covid-19 and how the semester is going so far. You can find the full Q&A here.

—Sabrina Brown

Posted in Uncategorized | Comments Off on Supporting your student’s emotional and physical well-being

Day 13 — Tutorials, Again #2

Hey, all! Welcome back to CryptoCL.

Today I continued my work on the Hands-On OpenCL tutorial. I didn’t make much headway, since I was busy juggling another project that needed more urgent attention along with these tutorials.

Last time, I was having trouble with Exercise 06. I was able to figure out that issue and solve it, as the code that was given was causing issue. Perhaps they were in anticipation for systems with multiple Devices? Simply commenting out that code fixed the issue, and I replaced it by defining a DEVICE variable that sets the device type to default. After that issue was fixed, the program runs the sequential calculation well, but then is unable to solve the OpenCL computation. I was stuck on this for an hour, until I noticed that the kernel source code did not have an implementation. I wrote an implementation, but found it wasn’t the correct implementation. The Hands-On OpenCL git repository actually provides an implementation in a presentation slideshow file. Once implemented, the code now correctly calculates vector multiplication matrices!

I moved on to Exercise07, where the goal is to calculate vector multiplication matrices by row, instead of at row x and column y. I edited the kernel source, but was unable to get the exercise working.

Next time, I will continue working on my exercises. Dr. Marmorstein has been sick for the week, so we might or might not meet tomorrow. Until next time!

Kyle Jenkins.

Time spent today: 3 hours
Total Time: 19 hours

Posted in Uncategorized | Tagged , | Comments Off on Day 13 — Tutorials, Again #2

We’re back!

Sorry folks, we had some intermittent downtime and slowness starting Tuesday afternoon (9/22) around 4pm. It was caused by some misbehaving plugins which we have now cleared up. Blogs was back to normal performance around 9am on Thursday 9/24. Our apologies for the interruption!!

Posted in Uncategorized | Comments Off on We’re back!

Goal 3: Communication Skills

Posted in Uncategorized | Comments Off on Goal 3: Communication Skills

Goal 2: Scientific Research

Posted in Uncategorized | Comments Off on Goal 2: Scientific Research

Goal 1: Content Knowledge

Posted in Uncategorized | Comments Off on Goal 1: Content Knowledge