Am I a deemed non-resident or resident?

Hi there,

 

I have moved to BC from U.S. since Aug 2023. I was a resident alien for tax purpose in 2023 in U.S. I'm neither U.S. citizen nor Canada citizen, currently holding work permit and employed by Canadian company. Am I deemed non-resident of Canada for the 2023 tax purpose cause I'm considered resident alien (at least for the time I lived in the U.S.) in 2023?

 

Thanks!