Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_current_dir_name not supported on OSX #51

Closed
rfbird opened this issue Apr 24, 2019 · 2 comments
Closed

get_current_dir_name not supported on OSX #51

rfbird opened this issue Apr 24, 2019 · 2 comments

Comments

@rfbird
Copy link

rfbird commented Apr 24, 2019

get_current_dir_name() is not supported on osx. Would/should something like:

  #define CWD_MAX 1024                                                             
  char cwd[CWD_MAX];                                                               
  getcwd(cwd, CWD_MAX);                                                            
  printf("KokkosP: Kernel timing written to %s/%s \n", cwd, fileOutput);  

Be prefered for kp_kernel_timer.cpp?

(As an aside, it would be nice if there was an option to write the file in plain text to avoid the need for kp_reader for an easier work flow on simple projects..)

@vlkale
Copy link
Contributor

vlkale commented Dec 21, 2022

Possibly associated with #72

@dalg24
Copy link
Member

dalg24 commented Dec 21, 2022

Fixed in #57

@dalg24 dalg24 closed this as completed Dec 21, 2022
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

No branches or pull requests

3 participants