Commit c9841028 authored by Igor Santos Peretta's avatar Igor Santos Peretta
Browse files

Fix the CUDA API deprecated call in CUDA_GP.tpl

parent 4e481001
......@@ -83,6 +83,11 @@ int main(int argc, char** argv){
using namespace std;
extern "C"
__global__ void
EvaluatePostFixIndividuals( const float * k_progs, const int maxprogssize, const int popsize, const float * k_inputs, const float * outputs, const int trainingSetSize, float * k_results, int* k_indexes );
#include "EASEAIndividual.hpp"
bool INSTEAD_EVAL_STEP = false;
......@@ -180,7 +185,8 @@ void cudaPreliminaryProcessGP(struct gpuEvaluationData* localGpuData){
// here we will compute how to spread the population to evaluate on GPGPU cores
struct cudaFuncAttributes attr;
int thLimit = attr.maxThreadsPerBlock;
//int N = localGpuData->sh_pop_size;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment