Skip to content

Commit

Permalink
Changing extension of template OpenCL files to .clt
Browse files Browse the repository at this point in the history
  • Loading branch information
kunal-puri committed Apr 29, 2011
1 parent 462840a commit 00c5849
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion source/pysph/sph/funcs/density_funcs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cdef class SPHRho(CSPHFunctionParticle):
self.id = 'sphrho'
self.tag = "density"

self.cl_kernel_src_file = "density_funcs.cl"
self.cl_kernel_src_file = "density_funcs.clt"
self.cl_kernel_function_name = "SPHRho"

cdef void eval_nbr_csph(self, size_t source_pid, size_t dest_pid,
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions source/pysph/sph/funcs/external_force.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cdef class GravityForce(SPHFunction):
self.gy = gy
self.gz = gz

self.cl_kernel_src_file = "external_force.cl"
self.cl_kernel_src_file = "external_force.clt"
self.cl_kernel_function_name = "GravityForce"

cdef void eval_single(self, size_t dest_pid,
Expand Down Expand Up @@ -174,7 +174,7 @@ cdef class NBodyForce(SPHFunctionParticle):
self.id = 'nbody_force'
self.tag = "velocity"

self.cl_kernel_src_file = "external_force.cl"
self.cl_kernel_src_file = "external_force.clt"
self.cl_kernel_function_name = "NBodyForce"

cdef void eval_single(self, size_t dest_pid, KernelBase kernel,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion source/pysph/sph/funcs/position_funcs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cdef class PositionStepping(SPHFunction):

self.dst_reads.extend( ['u','v','w'] )

self.cl_kernel_src_file = "position_funcs.cl"
self.cl_kernel_src_file = "position_funcs.clt"
self.cl_kernel_function_name = "PositionStepping"

cpdef eval(self, KernelBase kernel, DoubleArray output1,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion source/pysph/sph/tests/test_external_force.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setUp(self):
pysph_root = solver.get_pysph_root()

template = solver.cl_read(
path.join(pysph_root, "sph/funcs/external_force.cl"),
path.join(pysph_root, "sph/funcs/external_force.clt"),
function_name=func.cl_kernel_function_name,
precision=self.precision)

Expand Down

0 comments on commit 00c5849

Please sign in to comment.