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

JSON config parse error(offset 4465): Invalid value. #73

Open
ArcticWolfAssassin opened this issue Aug 10, 2017 · 1 comment
Open

JSON config parse error(offset 4465): Invalid value. #73

ArcticWolfAssassin opened this issue Aug 10, 2017 · 1 comment

Comments

@ArcticWolfAssassin
Copy link

I have pasted the config file into a JSON code versifier and it is telling me that the error is in the comments.

Error: Parse error on line 1:
/* * Number of GPU
^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

from JSON file:
/*

  • Number of GPUs that you have in your system. Each GPU will get its own CPU thread.
    */
    "gpu_thread_num" : 2,
@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 20, 2017

Please try this:


/* 
 * Number of GPUs that you have in your system. Each GPU will get its own CPU thread.
 */
"gpu_thread_num" : 1,

/*
 * GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
 *      index    - GPU index number usually starts from 0
 *  intensity    - Number of parallel GPU threads (nothing to do with CPU threads)
 *   worksize    - Number of local GPU threads (nothing to do with CPU threads)
 * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
 */
"gpu_threads_conf" : [ 
	{ "index" : 0, "intensity" : 512, "worksize" : 8, "affine_to_cpu" : false },
],

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

2 participants